summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-10-17 17:05:09 +0200
committerTomas Mraz <tomas@openssl.org>2022-10-19 13:21:01 +0200
commit155a82d1fe1c50d859081ff67f26633b9d7dada8 (patch)
treecc5bb75a447ee6ae4839848f130aee32fa7d29e7 /providers
parentecd831469919215b0a45693b00ec0fd7d42d5d61 (diff)
downloadopenssl-new-155a82d1fe1c50d859081ff67f26633b9d7dada8.tar.gz
Avoid putting ripemd_prov.c in libcommon otherwise it is regarded as fips source
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19375)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/digests/build.info6
1 files changed, 5 insertions, 1 deletions
diff --git a/providers/implementations/digests/build.info b/providers/implementations/digests/build.info
index 2d807416d6..d30975028e 100644
--- a/providers/implementations/digests/build.info
+++ b/providers/implementations/digests/build.info
@@ -15,7 +15,11 @@ $MD2_GOAL=../../liblegacy.a
$MD4_GOAL=../../liblegacy.a
$MDC2_GOAL=../../liblegacy.a
$WHIRLPOOL_GOAL=../../liblegacy.a
-$RIPEMD_GOAL=$COMMON_GOAL
+IF[{- !$disabled{module} -}]
+ $RIPEMD_GOAL=../../libdefault.a ../../liblegacy.a
+ELSE
+ $RIPEMD_GOAL=../../libdefault.a
+ENDIF
# This source is common for all digests in all our providers.
SOURCE[$COMMON_GOAL]=digestcommon.c