1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

partial DSA support

This commit is contained in:
Werner Koch 1998-03-09 21:44:06 +00:00
parent 1b1a6d7e77
commit a6a8f1e706
62 changed files with 2247 additions and 447 deletions

View file

@ -36,6 +36,12 @@ set_status_fd( int newfd )
void
write_status( int no )
{
write_status_text( no, NULL );
}
void
write_status_text( int no, const char *text)
{
const char *s;
@ -53,7 +59,13 @@ write_status( int no )
default: s = "?\n"; break;
}
write( fd, s, strlen(s) );
if( text ) {
write( fd, s, strlen(s)-1 );
write( fd, " ", 1 );
write( fd, text, strlen(text) );
write( fd, "\n", 1 );
}
else
write( fd, s, strlen(s) );
}