summaryrefslogtreecommitdiffstats
path: root/crypto/ripemd
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 /crypto/ripemd
parentecd831469919215b0a45693b00ec0fd7d42d5d61 (diff)
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 'crypto/ripemd')
-rw-r--r--crypto/ripemd/build.info8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/ripemd/build.info b/crypto/ripemd/build.info
index 75a6cd5ff0..f050480de4 100644
--- a/crypto/ripemd/build.info
+++ b/crypto/ripemd/build.info
@@ -19,10 +19,10 @@ SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
DEFINE[../../libcrypto]=$RMD160DEF
# When all deprecated symbols are removed, libcrypto doesn't export the
-# RIPEMD160 functions, so we must include them directly in libcommon.a
-IF[{- $disabled{'deprecated-3.0'} -}]
- SOURCE[../../providers/libcommon.a]=rmd_dgst.c rmd_one.c $RMD160ASM
- DEFINE[../../providers/libcommon.a]=$RMD160DEF
+# RIPEMD160 functions, so we must include them directly in liblegacy.a
+IF[{- $disabled{'deprecated-3.0'} && !$disabled{'module'} -}]
+ SOURCE[../../providers/liblegacy.a]=rmd_dgst.c rmd_one.c $RMD160ASM
+ DEFINE[../../providers/liblegacy.a]=$RMD160DEF
ENDIF
GENERATE[rmd-586.S]=asm/rmd-586.pl