]> git.ipfire.org Git - thirdparty/openssl.git/commit
FFC cleanups
authorslontis <shane.lontis@oracle.com>
Wed, 22 Feb 2023 04:16:05 +0000 (14:16 +1000)
committerTomas Mraz <tomas@openssl.org>
Mon, 3 Apr 2023 08:31:04 +0000 (10:31 +0200)
commita76ccb9d0ddc24f6551afbc220b41fb3c4e64c6a
tree93935d36fb68f37c5f3ad61797ba69d6a0cc756a
parenteb52450f5151e8e78743ab05de21a344823316f5
FFC cleanups

Discovered during coverage testing.

Remove unneccesary check when using ossl_dh_get0_params() and
ossl_dsa_get0_params(). These point to addresses and can not fail
for any existing calls.

Make dsa keygen tests only available in the FIPS module - as they are
not used in the default provider.

Change ossl_ffc_set_digest() to return void as it cannot fail.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20359)
crypto/dh/dh_backend.c
crypto/dsa/dsa_key.c
crypto/dsa/dsa_lib.c
crypto/ffc/ffc_backend.c
crypto/ffc/ffc_params.c
include/internal/ffc.h
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
test/evp_extra_test2.c