[openssl] master update
shane.lontis at oracle.com
shane.lontis at oracle.com
Wed Feb 17 01:18:49 UTC 2021
The branch master has been updated
via 5b888e931b64a132a0cd33b24344dc6cdac74727 (commit)
from 55e9d8cfffc1a40b0ab72e014ff62d5ef2a0ed63 (commit)
- Log -----------------------------------------------------------------
commit 5b888e931b64a132a0cd33b24344dc6cdac74727
Author: Petr Gotthard <petr.gotthard at centrum.cz>
Date: Mon Feb 15 11:53:45 2021 +0100
Fix propquery handling in EVP_DigestSignInit_ex
Fixes #14183. Fix the condition to detect legacy engines, so the
`props` are considered even when libctx == NULL.
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14188)
-----------------------------------------------------------------------
Summary of changes:
crypto/evp/m_sigver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index bdcac90078..57c8ce78a4 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -60,7 +60,7 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
}
if (ctx->pctx == NULL) {
- if (libctx != NULL)
+ if (e == NULL)
ctx->pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, props);
else
ctx->pctx = EVP_PKEY_CTX_new(pkey, e);
More information about the openssl-commits
mailing list