summaryrefslogtreecommitdiffstats
path: root/test/casttest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-02 16:15:26 +0000
committerMatt Caswell <matt@openssl.org>2020-01-13 13:44:27 +0000
commit0ae5d4d6f8a0cd17fb9beb5876827f311c1b350c (patch)
tree97e4560467f8b8d9b997b8ac0dd1f45029964b8c /test/casttest.c
parent291850b473ef5d83ac7d90bdcd7f68d186515348 (diff)
Deprecate the Low Level CAST APIs
Applications should instead use the higher level EVP APIs, e.g. EVP_Encrypt*() and EVP_Decrypt*(). Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10742)
Diffstat (limited to 'test/casttest.c')
-rw-r--r--test/casttest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/casttest.c b/test/casttest.c
index 0d7595cc99..09435bde45 100644
--- a/test/casttest.c
+++ b/test/casttest.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * CAST low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>