mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
* pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
has been assigned.
This commit is contained in:
parent
4b2cd72c24
commit
d964ea1f84
@ -1,3 +1,8 @@
|
|||||||
|
2002-10-23 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
|
||||||
|
has been assigned.
|
||||||
|
|
||||||
2002-10-21 Werner Koch <wk@gnupg.org>
|
2002-10-21 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32;
|
* exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32;
|
||||||
|
@ -245,7 +245,7 @@ get_it( PKT_pubkey_enc *enc, DEK *dek, PKT_secret_key *sk, u32 *keyid )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( pk->is_revoked ) {
|
if ( pk && pk->is_revoked ) {
|
||||||
log_info( _("NOTE: key has been revoked") );
|
log_info( _("NOTE: key has been revoked") );
|
||||||
putc( '\n', log_stream() );
|
putc( '\n', log_stream() );
|
||||||
show_revocation_reason( pk, 1 );
|
show_revocation_reason( pk, 1 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user