aboutsummaryrefslogtreecommitdiff
path: root/test/rsa_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-02-12 15:03:51 +1000
committerPauli <paul.dale@oracle.com>2020-02-20 18:58:40 +1000
commitc5f8713443c8d606ff149b12c478cd6162f2a7ac (patch)
tree536ea6ba3fdf7e0f4e80ef2b50f8f979cfb730a2 /test/rsa_test.c
parentb9f733c2846329ca6ee6b906b2291e31c0c14183 (diff)
downloadopenssl-c5f8713443c8d606ff149b12c478cd6162f2a7ac.zip
openssl-c5f8713443c8d606ff149b12c478cd6162f2a7ac.tar.gz
openssl-c5f8713443c8d606ff149b12c478cd6162f2a7ac.tar.bz2
Deprecate the low level RSA functions.
Use of the low level RSA functions has been informally discouraged for a long time. We now formally deprecate them. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11063)
Diffstat (limited to 'test/rsa_test.c')
-rw-r--r--test/rsa_test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rsa_test.c b/test/rsa_test.c
index 084f533..1fbfe82 100644
--- a/test/rsa_test.c
+++ b/test/rsa_test.c
@@ -9,6 +9,12 @@
/* test vectors from p1ovect1.txt */
+/*
+ * RSA low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <stdio.h>
#include <string.h>