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:
2af68ef
)
Make EVP_Digest* work again.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 30 Jun 2014 12:41:38 +0000
(13:41 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 30 Jun 2014 12:59:29 +0000
(13:59 +0100)
crypto/evp/m_sigver.c
patch
|
blob
|
history
diff --git
a/crypto/evp/m_sigver.c
b/crypto/evp/m_sigver.c
index 7614d36c0f291de899479fc8a0a5b35b804e32d3..b694991dbf368c31d4f62bdd895447c5623eba95 100644
(file)
--- a/
crypto/evp/m_sigver.c
+++ b/
crypto/evp/m_sigver.c
@@
-113,6
+113,8
@@
static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
}
if (EVP_PKEY_CTX_set_signature_md(ctx->pctx, type) <= 0)
return 0;
+ if (pctx)
+ *pctx = ctx->pctx;
if (ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM)
return 1;
if (!EVP_DigestInit_ex(ctx, type, e))