aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
Diffstat (limited to 'sm')
-rw-r--r--sm/encrypt.c2
-rw-r--r--sm/gpgsm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sm/encrypt.c b/sm/encrypt.c
index a049a50ac..ffe88a790 100644
--- a/sm/encrypt.c
+++ b/sm/encrypt.c
@@ -86,7 +86,7 @@ init_dek (DEK dek)
case GCRY_CIPHER_DES:
case GCRY_CIPHER_RFC2268_40:
log_error ("cipher algorithm `%s' not allowed: too weak\n",
- gcry_cipher_algo_name (dek->algo));
+ gnupg_cipher_algo_name (dek->algo));
return gpg_error (GPG_ERR_UNSUPPORTED_ALGORITHM);
default:
break;
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index d1b09f422..f3718ae9f 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -553,7 +553,7 @@ my_strusage( int level )
case 33: p = _("\nSupported algorithms:\n"); break;
case 34:
if (!ciphers)
- ciphers = build_list ("Cipher: ", gcry_cipher_algo_name,
+ ciphers = build_list ("Cipher: ", gnupg_cipher_algo_name,
our_cipher_test_algo );
p = ciphers;
break;