]> git.ipfire.org Git - thirdparty/openssl.git/commit - providers/implementations/keymgmt/dh_kmgmt.c
DH_check_pub_key() should not fail when setting result code
authorTomas Mraz <tomas@openssl.org>
Thu, 5 Oct 2023 09:11:16 +0000 (11:11 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 Oct 2023 14:22:27 +0000 (16:22 +0200)
commiteaee1765a49c6a8ba728e3e2d18bb67bff8aaa55
tree0d92e2ae517662c7646414ee704bc4f7c3d29337
parent715242b1ca2b7267a70fb13c3544a84b947a6e81
DH_check_pub_key() should not fail when setting result code

The semantics of ossl_ffc_validate_public_key() and
ossl_ffc_validate_public_key_partial() needs to be changed
to not return error on non-fatal problems.

Fixes #22287

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22291)
crypto/dh/dh_check.c
crypto/dsa/dsa_check.c
crypto/ffc/ffc_key_validate.c
providers/implementations/keymgmt/dh_kmgmt.c
test/ffc_internal_test.c