diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-09 11:18:58 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-01-12 12:02:17 +1000 |
commit | 33ee9ae059ac6f0ce1871da96116c6d582ec524b (patch) | |
tree | 1b1af5690e78714f79dfc315f4eb35525444945f /crypto/mdc2/build.info | |
parent | 0feef76fe07e75b70155468f0a5956242d27b316 (diff) |
Deprecate the low level MDC2 functions.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10790)
Diffstat (limited to 'crypto/mdc2/build.info')
-rw-r--r-- | crypto/mdc2/build.info | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/crypto/mdc2/build.info b/crypto/mdc2/build.info index 8fe6878d60..54df262514 100644 --- a/crypto/mdc2/build.info +++ b/crypto/mdc2/build.info @@ -1,3 +1,10 @@ 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"} + && (defined $config{"api"} && $config{"api"} >= 30000) -}] + SOURCE[../../providers/liblegacy.a]=mdc2dgst.c mdc2_one.c +ENDIF |