X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=crypto%2Fevp%2Fevp_enc.c;h=ccfcc7e1b15ba815daad602608af989f1e979540;hb=59ae8c941916a2f8850c59638cb0ee4329d57b3e;hp=66c48d1431fc943749901b6935aec28e6d9a8607;hpb=0bdd2da5d222c1dad24b5479e0677e5a5fdd3cee;p=openssl.git diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c index 66c48d1431..ccfcc7e1b1 100644 --- a/crypto/evp/evp_enc.c +++ b/crypto/evp/evp_enc.c @@ -236,7 +236,7 @@ int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *imp int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) { - return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 0); + return EVP_CipherInit(ctx, cipher, key, iv, 0); } int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl,