aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encr-data.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-12-12 10:28:30 +0000
committerWerner Koch <[email protected]>2007-12-12 10:28:30 +0000
commitbae4b256c79c24e5306c692adf9bb5891433c7d5 (patch)
treec0aae4de008d75964074146240257f81b8ded0b1 /g10/encr-data.c
parentAllow decryption using type 20 Elgamal keys. (diff)
downloadgnupg-bae4b256c79c24e5306c692adf9bb5891433c7d5.tar.gz
gnupg-bae4b256c79c24e5306c692adf9bb5891433c7d5.zip
Support DSA2.
Support Camellia for testing. More audit stuff.
Diffstat (limited to 'g10/encr-data.c')
-rw-r--r--g10/encr-data.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/encr-data.c b/g10/encr-data.c
index a05ff468a..56d787c7e 100644
--- a/g10/encr-data.c
+++ b/g10/encr-data.c
@@ -88,8 +88,9 @@ decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek )
if ( opt.verbose && !dek->algo_info_printed )
{
- if (!gcry_cipher_test_algo (dek->algo))
- log_info (_("%s encrypted data\n"), gcry_cipher_algo_name (dek->algo));
+ if (!openpgp_cipher_test_algo (dek->algo))
+ log_info (_("%s encrypted data\n"),
+ openpgp_cipher_algo_name (dek->algo));
else
log_info (_("encrypted with unknown algorithm %d\n"), dek->algo );
dek->algo_info_printed = 1;