mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54: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
45a8594ff9
commit
7e5f9547c5
@ -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-18 Timo Schulz <ts@winpt.org>
|
||||
|
||||
* keylist.c: (print_pubkey_info): New.
|
||||
|
@ -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") );
|
||||
putc( '\n', log_stream() );
|
||||
show_revocation_reason( pk, 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user