From: Matt Caswell Date: Tue, 12 Nov 2019 16:02:24 +0000 (+0000) Subject: Fix no-blake2 X-Git-Tag: openssl-3.0.0-alpha1~949 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3b045f6b0d23cb44f632cab8231fff362f16742;p=oweals%2Fopenssl.git Fix no-blake2 We modify the build.info file to exclude the legacy_blake2.c file in the event that blake2 support has been disabled. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/10425) --- diff --git a/crypto/evp/build.info b/crypto/evp/build.info index f16d08e0cb..681201d521 100644 --- a/crypto/evp/build.info +++ b/crypto/evp/build.info @@ -17,7 +17,7 @@ SOURCE[../../libcrypto]=$COMMON\ e_aes_cbc_hmac_sha1.c e_aes_cbc_hmac_sha256.c e_rc4_hmac_md5.c \ e_chacha20_poly1305.c \ pkey_mac.c exchange.c \ - legacy_sha.c legacy_md5_sha1.c legacy_blake2.c + legacy_sha.c legacy_md5_sha1.c IF[{- !$disabled{md2} -}] SOURCE[../../libcrypto]=legacy_md2.c @@ -31,6 +31,10 @@ ENDIF IF[{- !$disabled{mdc2} -}] SOURCE[../../libcrypto]=legacy_mdc2.c ENDIF +IF[{- !$disabled{blake2} -}] + SOURCE[../../libcrypto]=legacy_blake2.c +ENDIF + SOURCE[../../providers/libfips.a]=$COMMON