aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/evp/p_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/evp/p_open.c')
-rw-r--r--openssl/crypto/evp/p_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/evp/p_open.c b/openssl/crypto/evp/p_open.c
index 9935206d0..53a59a295 100644
--- a/openssl/crypto/evp/p_open.c
+++ b/openssl/crypto/evp/p_open.c
@@ -95,7 +95,7 @@ int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
goto err;
}
- i=EVP_PKEY_decrypt(key,ek,ekl,priv);
+ i=EVP_PKEY_decrypt_old(key,ek,ekl,priv);
if ((i <= 0) || !EVP_CIPHER_CTX_set_key_length(ctx, i))
{
/* ERROR */