summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/evp/evp_pbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/openssl/crypto/evp/evp_pbe.c')
-rw-r--r--app/openssl/crypto/evp/evp_pbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/openssl/crypto/evp/evp_pbe.c b/app/openssl/crypto/evp/evp_pbe.c
index f8c32d82..59696959 100644
--- a/app/openssl/crypto/evp/evp_pbe.c
+++ b/app/openssl/crypto/evp/evp_pbe.c
@@ -259,7 +259,7 @@ int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
{
int cipher_nid, md_nid;
if (cipher)
- cipher_nid = EVP_CIPHER_type(cipher);
+ cipher_nid = EVP_CIPHER_nid(cipher);
else
cipher_nid = -1;
if (md)