aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/evp/evp_pbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/evp/evp_pbe.c')
-rw-r--r--openssl/crypto/evp/evp_pbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/evp/evp_pbe.c b/openssl/crypto/evp/evp_pbe.c
index f8c32d825..596969594 100644
--- a/openssl/crypto/evp/evp_pbe.c
+++ b/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)