EVP_PKEY & DSA: move dsa_ctrl.c to be included only on libcrypto
authorRichard Levitte <levitte@openssl.org>
Tue, 1 Dec 2020 18:09:39 +0000 (19:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 16 Dec 2020 10:54:48 +0000 (11:54 +0100)
These functions aren't used by the FIPS module, so there's no reason
to include it there.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13589)

crypto/evp/build.info

index 204c199bac4cf06f6c75cc92ac0195127b2dc5b6..652c3ee74a04f209daf16023df0def6656f23e51 100644 (file)
@@ -4,10 +4,6 @@ $COMMON=digest.c evp_enc.c evp_lib.c evp_fetch.c cmeth_lib.c evp_utils.c \
         m_sigver.c pmeth_lib.c signature.c p_lib.c pmeth_gn.c exchange.c \
         pmeth_check.c evp_rand.c asymcipher.c kem.c
 
-# Diverse type specific ctrl functions.  They are kinda sorta legacy, kinda
-# sorta not.
-$COMMON=$COMMON dsa_ctrl.c
-
 SOURCE[../../libcrypto]=$COMMON\
         encode.c evp_key.c evp_cnf.c \
         e_des.c e_bf.c e_idea.c e_des3.c \
@@ -21,6 +17,10 @@ SOURCE[../../libcrypto]=$COMMON\
         e_chacha20_poly1305.c \
         legacy_sha.c
 
+# Diverse type specific ctrl functions.  They are kinda sorta legacy, kinda
+# sorta not.
+SOURCE[../../libcrypto]=dsa_ctrl.c
+
 IF[{- !$disabled{'deprecated-3.0'} -}]
   SOURCE[../../libcrypto]=p_enc.c p_dec.c
 ENDIF