aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/import.c')
-rw-r--r--g10/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/import.c b/g10/import.c
index 66aa875c4..41198b687 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -602,9 +602,9 @@ check_prefs(KBNODE keyblock)
if (openpgp_cipher_test_algo (prefs->value))
{
const char *algo =
- (gcry_cipher_test_algo (prefs->value)
+ (openpgp_cipher_test_algo (prefs->value)
? num
- : gcry_cipher_algo_name (prefs->value));
+ : openpgp_cipher_algo_name (prefs->value));
if(!problem)
check_prefs_warning(pk);
log_info(_(" \"%s\": preference for cipher"