1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +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> 2003-02-26 David Shaw <dshaw@jabberwocky.com>
* trustdb.c (validate_keys): Mask the ownertrust when building the * trustdb.c (validate_keys): Mask the ownertrust when building the

View File

@ -59,7 +59,10 @@ do_check( PKT_secret_key *sk, const char *tryagain_text )
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)":"" );
if (sk->protect.algo==CIPHER_ALGO_IDEA) if (sk->protect.algo==CIPHER_ALGO_IDEA)
{
write_status (STATUS_RSA_OR_IDEA);
idea_cipher_warn (0); idea_cipher_warn (0);
}
return G10ERR_CIPHER_ALGO; return G10ERR_CIPHER_ALGO;
} }
keyid_from_sk( sk, keyid ); keyid_from_sk( sk, keyid );