diff options
author | Werner Koch <[email protected]> | 1998-05-03 19:35:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-05-03 19:35:33 +0000 |
commit | 2cd12c5c8f507b5ef344cd7d400b585d05090285 (patch) | |
tree | 3a563a6c33c550cb1cdaa49a60e84c82299e1ac4 /g10/ringedit.c | |
parent | fixed passphrase bug from 0.2.16 (diff) | |
download | gnupg-2cd12c5c8f507b5ef344cd7d400b585d05090285.tar.gz gnupg-2cd12c5c8f507b5ef344cd7d400b585d05090285.zip |
fixed last passphrase bug
Diffstat (limited to 'g10/ringedit.c')
-rw-r--r-- | g10/ringedit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/ringedit.c b/g10/ringedit.c index a7797a358..def4a4306 100644 --- a/g10/ringedit.c +++ b/g10/ringedit.c @@ -673,11 +673,13 @@ keyring_enum( KBPOS *kbpos, KBNODE *ret_root, int skipsigs ) default: /* skip pakets at the beginning of a keyring, until we find * a start packet; issue a warning if it is not a comment */ - if( !root && pkt->pkttype != PKT_COMMENT ) + if( !root && pkt->pkttype != PKT_COMMENT + && pkt->pkttype != PKT_OLD_COMMENT ) log_info("keyring_enum: skipped packet of type %d\n", pkt->pkttype ); if( !root || (skipsigs && ( pkt->pkttype == PKT_SIGNATURE - ||pkt->pkttype == PKT_COMMENT )) ) { + ||pkt->pkttype == PKT_COMMENT + ||pkt->pkttype == PKT_OLD_COMMENT )) ) { init_packet(pkt); break; } |