From b3b045f6b0d23cb44f632cab8231fff362f16742 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 12 Nov 2019 16:02:24 +0000 Subject: [PATCH] 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) --- crypto/evp/build.info | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.25.1