projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the Win32 compile environment and add various changes so it will now compile
[oweals/openssl.git]
/
crypto
/
evp
/
p_verify.c
diff --git
a/crypto/evp/p_verify.c
b/crypto/evp/p_verify.c
index 8d727d8f02d9b9474eb599801ef89f53764b6161..0a9bb05a746ef30b9d6c5bc227e7ba0496c2369a 100644
(file)
--- a/
crypto/evp/p_verify.c
+++ b/
crypto/evp/p_verify.c
@@
-88,7
+88,7
@@
EVP_PKEY *pkey;
EVPerr(EVP_F_EVP_VERIFYFINAL,EVP_R_WRONG_PUBLIC_KEY_TYPE);
return(-1);
}
- memcpy(&tmp_ctx,ctx,sizeof(EVP_MD_CTX));
+ EVP_MD_CTX_copy(&tmp_ctx,ctx);
EVP_DigestFinal(&tmp_ctx,&(m[0]),&m_len);
if (ctx->digest->verify == NULL)
{