mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
IDEA removed, signing works
This commit is contained in:
parent
db19a27518
commit
a51cca90b6
30 changed files with 428 additions and 654 deletions
15
g10/keygen.c
15
g10/keygen.c
|
@ -44,21 +44,6 @@ answer_is_yes( const char *s )
|
|||
}
|
||||
|
||||
|
||||
static void
|
||||
write_comment( IOBUF out, const char *s )
|
||||
{
|
||||
PACKET pkt;
|
||||
size_t n = strlen(s);
|
||||
int rc;
|
||||
|
||||
pkt.pkttype = PKT_COMMENT;
|
||||
pkt.pkt.comment = m_alloc( sizeof *pkt.pkt.comment + n - 1 );
|
||||
pkt.pkt.comment->len = n;
|
||||
strcpy(pkt.pkt.comment->data, s);
|
||||
if( (rc = build_packet( out, &pkt )) )
|
||||
log_error("build_packet(comment) failed: %s\n", g10_errstr(rc) );
|
||||
free_packet( &pkt );
|
||||
}
|
||||
|
||||
static void
|
||||
write_uid( IOBUF out, const char *s )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue