projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bdd2da
)
EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 17 Jan 2003 00:48:47 +0000
(
00:48
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 17 Jan 2003 00:48:47 +0000
(
00:48
+0000)
crypto/evp/evp_enc.c
patch
|
blob
|
history
diff --git
a/crypto/evp/evp_enc.c
b/crypto/evp/evp_enc.c
index 66c48d1431fc943749901b6935aec28e6d9a8607..ccfcc7e1b15ba815daad602608af989f1e979540 100644
(file)
--- 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,