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:
0220fc9
)
Reverting check to correct
author
Dmitry Belyavskiy
<beldmit@gmail.com>
Thu, 5 Sep 2019 12:50:58 +0000
(15:50 +0300)
committer
Dmitry Belyavskiy
<beldmit@gmail.com>
Thu, 5 Sep 2019 12:50:58 +0000
(15:50 +0300)
Fixes #9773.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9776)
crypto/evp/cmeth_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/cmeth_lib.c
b/crypto/evp/cmeth_lib.c
index 4d823f0f5e90254a6f19dec90da397ec82d7a6e0..ba61c525643f1c6cc87d11419dfe7f97160b1f9a 100644
(file)
--- a/
crypto/evp/cmeth_lib.c
+++ b/
crypto/evp/cmeth_lib.c
@@
-38,7
+38,7
@@
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher)
return NULL;
if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size,
- cipher->key_len))
=
= NULL) {
+ cipher->key_len))
!
= NULL) {
CRYPTO_RWLOCK *lock = to->lock;
memcpy(to, cipher, sizeof(*to));