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
/
evp_lib.c
diff --git
a/crypto/evp/evp_lib.c
b/crypto/evp/evp_lib.c
index f78df52ab1953c905728ff8acfe60041d56e2ac7..64d7fb046de9c75d1f72ab0f01f6b0c8da89bbfb 100644
(file)
--- a/
crypto/evp/evp_lib.c
+++ b/
crypto/evp/evp_lib.c
@@
-823,6
+823,7
@@
EVP_MD *EVP_MD_meth_dup(const EVP_MD *md)
memcpy(to, md, sizeof(*to));
to->lock = lock;
+ to->origin = EVP_ORIG_METH;
}
return to;
}