OSSL_PARAM_BLD_push_BN_pad(): Allow NULL BIGNUM
authorTomas Mraz <tomas@openssl.org>
Mon, 4 Sep 2023 06:59:53 +0000 (08:59 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 5 Sep 2023 10:50:39 +0000 (12:50 +0200)
commit2ce79d97e338c8eaacf67ce2e1a1b0fb1c639f11
tree8ee0f90c1ce1b14469b6a88fa474db57838a4cb6
parent374945a9aa545d4d6f015de0b48cbed6a90258e0
OSSL_PARAM_BLD_push_BN_pad(): Allow NULL BIGNUM

This was supported previously and regressed
with commit 17898ec6011cc583c5af69ca8f25f5d165ff3e6a

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21945)
crypto/param_build.c