diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-01-17 00:48:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-01-17 00:48:47 +0000 |
commit | 59ae8c941916a2f8850c59638cb0ee4329d57b3e (patch) | |
tree | c2ccca48bb215e20949aa1e8beeb094d9fc14f2b /crypto | |
parent | 0bdd2da5d222c1dad24b5479e0677e5a5fdd3cee (diff) | |
download | openssl-59ae8c941916a2f8850c59638cb0ee4329d57b3e.tar.gz |
EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |