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

fixed last passphrase bug

This commit is contained in:
Werner Koch 1998-05-03 19:35:33 +00:00
parent 1d4718a1a6
commit 2cd12c5c8f
13 changed files with 60 additions and 30 deletions

View file

@ -68,6 +68,8 @@ build_packet( IOBUF out, PACKET *pkt )
if( DBG_PACKET )
log_debug("build_packet() type=%d\n", pkt->pkttype );
if( pkt->pkttype == PKT_OLD_COMMENT )
pkt->pkttype = PKT_COMMENT;
assert( pkt->pkt.generic );
if( pkt->pkttype > 15 ) /* new format */
ctb = 0xc0 | (pkt->pkttype & 0x3f);
@ -109,7 +111,7 @@ build_packet( IOBUF out, PACKET *pkt )
break;
case PKT_RING_TRUST:
default:
log_bug("invalid packet type in build_packet()");
log_bug("invalid packet type in build_packet()\n");
break;
}