mirror of https://github.com/openssl/openssl
Initialize dstctx->mgf1_md to NULL in rsa_dupctx function
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)
This commit is contained in:
parent
990d9ff508
commit
f95e3a0917
|
@ -1006,6 +1006,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;
|
||||
|
|
Loading…
Reference in New Issue