summaryrefslogtreecommitdiffstats
path: root/crypto/md4/build.info
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/md4/build.info')
-rw-r--r--crypto/md4/build.info11
1 files changed, 9 insertions, 2 deletions
diff --git a/crypto/md4/build.info b/crypto/md4/build.info
index 20846e0dce..7b36a0421e 100644
--- a/crypto/md4/build.info
+++ b/crypto/md4/build.info
@@ -1,3 +1,10 @@
LIBS=../../libcrypto
-SOURCE[../../libcrypto]=\
- md4_dgst.c md4_one.c
+
+SOURCE[../../libcrypto]=md4_dgst.c md4_one.c
+
+# When all deprecated symbols are removed, libcrypto doesn't export the
+# MD4 functions, so we must include them directly in liblegacy.a
+IF[{- $disabled{"deprecated"}
+ && (defined $config{"api"} && $config{"api"} >= 30000) -}]
+ SOURCE[../../providers/liblegacy.a]=md4_dgst.c md4_one.c
+ENDIF