Adapt all build.info and test recipes to the new $disabled{'deprecated-x.y'}
[openssl.git] / crypto / mdc2 / build.info
index 8fe6878d600a4774d26697288142ae580c77ffde..76aa0705e465a2d55767518f89aa8bff2af71211 100644 (file)
@@ -1,3 +1,9 @@
 LIBS=../../libcrypto
-SOURCE[../../libcrypto]=\
-        mdc2dgst.c mdc2_one.c
+
+SOURCE[../../libcrypto]=mdc2dgst.c mdc2_one.c
+
+# When all deprecated symbols are removed, libcrypto doesn't export the
+# MDC2 functions, so we must include them directly in liblegacy.a
+IF[{- $disabled{'deprecated-3.0'} -}]
+  SOURCE[../../providers/liblegacy.a]=mdc2dgst.c mdc2_one.c
+ENDIF