diff options
Diffstat (limited to 'g10/seckey-cert.c')
-rw-r--r-- | g10/seckey-cert.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/seckey-cert.c b/g10/seckey-cert.c index 1695d2568..a7472a489 100644 --- a/g10/seckey-cert.c +++ b/g10/seckey-cert.c @@ -56,8 +56,9 @@ do_check( PKT_secret_key *sk ) if( sk->protect.algo == CIPHER_ALGO_NONE ) BUG(); if( check_cipher_algo( sk->protect.algo ) ) { - log_info(_("protection algorithm %d is not supported\n"), - sk->protect.algo ); + log_info(_("protection algorithm %d%s is not supported\n"), + sk->protect.algo,sk->protect.algo==1?" (IDEA)":"" ); + idea_cipher_warn(); return G10ERR_CIPHER_ALGO; } keyid_from_sk( sk, keyid ); |