summaryrefslogtreecommitdiffstats
path: root/crypto/evp/legacy_mdc2.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-09 02:18:58 +0100
committerPauli <paul.dale@oracle.com>2020-01-12 03:02:17 +0100
commit33ee9ae059ac6f0ce1871da96116c6d582ec524b (patch)
tree1b1af5690e78714f79dfc315f4eb35525444945f /crypto/evp/legacy_mdc2.c
parentmdc2: fix preprocessor indentation (diff)
downloadopenssl-33ee9ae059ac6f0ce1871da96116c6d582ec524b.tar.xz
openssl-33ee9ae059ac6f0ce1871da96116c6d582ec524b.zip
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/evp/legacy_mdc2.c')
-rw-r--r--crypto/evp/legacy_mdc2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/evp/legacy_mdc2.c b/crypto/evp/legacy_mdc2.c
index 9144a5715c..9499db78e5 100644
--- a/crypto/evp/legacy_mdc2.c
+++ b/crypto/evp/legacy_mdc2.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * MDC2 low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <openssl/mdc2.h>
#include "crypto/evp.h"
#include "legacy_meth.h"