projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa78b15
)
Initialize dstctx->mgf1_md to NULL in rsa_dupctx function
author
lan1120
<lanming@huawei.com>
Wed, 22 Nov 2023 01:45:25 +0000
(09:45 +0800)
committer
Tomas Mraz
<tomas@openssl.org>
Thu, 30 Nov 2023 17:45:55 +0000
(18:45 +0100)
Signed-off-by: lan1120 <lanming@huawei.com>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22795)
(cherry picked from commit
f95e3a09173b13dcfae668be6103e64c02222f08
)
providers/implementations/signature/rsa_sig.c
patch
|
blob
|
history
diff --git
a/providers/implementations/signature/rsa_sig.c
b/providers/implementations/signature/rsa_sig.c
index cd5de6bd5183bf7b1ecbed9dc62aab080335ec90..5876158d27e1934c28037b51574f3f8dc812dc1e 100644
(file)
--- a/
providers/implementations/signature/rsa_sig.c
+++ b/
providers/implementations/signature/rsa_sig.c
@@
-1011,6
+1011,7
@@
static void *rsa_dupctx(void *vprsactx)
*dstctx = *srcctx;
dstctx->rsa = NULL;
dstctx->md = NULL;
+ dstctx->mgf1_md = NULL;
dstctx->mdctx = NULL;
dstctx->tbuf = NULL;
dstctx->propq = NULL;