diff options
Diffstat (limited to 'g10/keygen.c')
-rw-r--r-- | g10/keygen.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index 1f174498c..866824c1c 100644 --- a/g10/keygen.c +++ b/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 ) |