projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix EVP_MD_meth_dup and EVP_CIPHER_meth_dup
[openssl.git]
/
crypto
/
evp
/
cmeth_lib.c
diff --git
a/crypto/evp/cmeth_lib.c
b/crypto/evp/cmeth_lib.c
index 9b935503071ee005337f46f93258735d0e3ed900..a806ec5f9e22088585dba3e0cafa42d6f1022d89 100644
(file)
--- a/
crypto/evp/cmeth_lib.c
+++ b/
crypto/evp/cmeth_lib.c
@@
-50,6
+50,7
@@
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher)
memcpy(to, cipher, sizeof(*to));
to->lock = lock;
+ to->origin = EVP_ORIG_METH;
}
return to;
}