]> git.ipfire.org Git - thirdparty/openssl.git/commit
ossl_param_build_set_multi_key_bn(): Do not set NULL BIGNUMs
authorTomas Mraz <tomas@openssl.org>
Mon, 4 Sep 2023 09:10:42 +0000 (11:10 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 18 Oct 2023 16:08:53 +0000 (18:08 +0200)
commitf0c3bb1ac11fb25659f0b88a769d8a10edf82355
treed2c990cb588a3792141eecdc55723d862d540afc
parent339bbcd70c1d135b7cc064e2ce001bdb22fe702b
ossl_param_build_set_multi_key_bn(): Do not set NULL BIGNUMs

This makes them zeroes otherwise
where NULLs actually mean the values aren't present.

Fixes #21935

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/22334)

(cherry picked from commit 15a39e7025e0ed4e31664c499894006e41582068)
crypto/param_build_set.c