mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
c829c23b67
EVP_PKEY_CTX_set_dh_ functions were only available when DH was enabled ('no-dsa' not configured). However, that makes it impossible to use these functions with an engine or a provider that happens to implement DH. This change solves that problem by shuffling these functions to more appropriate places. By consequence, there are a number of places where we can remove the check of OPENSSL_NO_DH. This requires some re-arrangements of internal tables to translate between numeric identities and names. Partially fixes #13550 Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13589)
14 lines
369 B
Plaintext
14 lines
369 B
Plaintext
LIBS=../../libcrypto
|
|
|
|
$COMMON=dh_lib.c dh_key.c dh_group_params.c dh_check.c dh_backend.c dh_gen.c \
|
|
dh_kdf.c
|
|
|
|
SOURCE[../../libcrypto]=$COMMON\
|
|
dh_asn1.c dh_err.c \
|
|
dh_ameth.c dh_pmeth.c dh_prn.c dh_rfc5114.c dh_meth.c
|
|
IF[{- !$disabled{'deprecated-0.9.8'} -}]
|
|
SOURCE[../../libcrypto]=dh_depr.c
|
|
ENDIF
|
|
|
|
SOURCE[../../providers/libfips.a]=$COMMON
|