mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-26 15:37:03 +01:00
* seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher
in question is in fact IDEA.
This commit is contained in:
parent
4e197571be
commit
bf31d26b1d
@ -1,5 +1,8 @@
|
|||||||
2002-10-01 David Shaw <dshaw@jabberwocky.com>
|
2002-10-01 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* seckey-cert.c (do_check): Don't give the IDEA warning unless the
|
||||||
|
cipher in question is in fact IDEA.
|
||||||
|
|
||||||
* import.c (import_one): Make sure that a newly imported key
|
* import.c (import_one): Make sure that a newly imported key
|
||||||
starts with a clean ownertrust.
|
starts with a clean ownertrust.
|
||||||
(import_revoke_cert): Remove ultimate trust when revoking an
|
(import_revoke_cert): Remove ultimate trust when revoking an
|
||||||
|
@ -58,7 +58,8 @@ do_check( PKT_secret_key *sk, const char *tryagain_text )
|
|||||||
if( check_cipher_algo( sk->protect.algo ) ) {
|
if( check_cipher_algo( sk->protect.algo ) ) {
|
||||||
log_info(_("protection algorithm %d%s is not supported\n"),
|
log_info(_("protection algorithm %d%s is not supported\n"),
|
||||||
sk->protect.algo,sk->protect.algo==1?" (IDEA)":"" );
|
sk->protect.algo,sk->protect.algo==1?" (IDEA)":"" );
|
||||||
idea_cipher_warn(0);
|
if(sk->protect.algo==CIPHER_ALGO_IDEA)
|
||||||
|
idea_cipher_warn(0);
|
||||||
return G10ERR_CIPHER_ALGO;
|
return G10ERR_CIPHER_ALGO;
|
||||||
}
|
}
|
||||||
keyid_from_sk( sk, keyid );
|
keyid_from_sk( sk, keyid );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user