mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2003-03-02 Timo Schulz <twoaday@freakmail.de>
* seckey-cert.c (do_check): Issue the RSA_OR_IDEA status when the cipher algo is IDEA to make it easier to track down the problem.
This commit is contained in:
parent
8655a545af
commit
16c925f68a
2 changed files with 10 additions and 2 deletions
|
@ -58,8 +58,11 @@ do_check( PKT_secret_key *sk, const char *tryagain_text )
|
|||
if( check_cipher_algo( sk->protect.algo ) ) {
|
||||
log_info(_("protection algorithm %d%s is not supported\n"),
|
||||
sk->protect.algo,sk->protect.algo==1?" (IDEA)":"" );
|
||||
if(sk->protect.algo==CIPHER_ALGO_IDEA)
|
||||
idea_cipher_warn(0);
|
||||
if (sk->protect.algo==CIPHER_ALGO_IDEA)
|
||||
{
|
||||
write_status (STATUS_RSA_OR_IDEA);
|
||||
idea_cipher_warn (0);
|
||||
}
|
||||
return G10ERR_CIPHER_ALGO;
|
||||
}
|
||||
keyid_from_sk( sk, keyid );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue