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:
parent
1b1a6d7e77
commit
a6a8f1e706
62 changed files with 2247 additions and 447 deletions
16
g10/status.c
16
g10/status.c
|
@ -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) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue