1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01: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:
Timo Schulz 2003-03-02 11:58:24 +00:00
parent 8655a545af
commit 16c925f68a
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.
2003-02-26 David Shaw <dshaw@jabberwocky.com>
* trustdb.c (validate_keys): Mask the ownertrust when building the

View File

@ -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 );