summaryrefslogtreecommitdiff
path: root/test/rsa_sp800_56b_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rsa_sp800_56b_test.c')
-rw-r--r--test/rsa_sp800_56b_test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/rsa_sp800_56b_test.c b/test/rsa_sp800_56b_test.c
index 72451b37ca..94369ce701 100644
--- a/test/rsa_sp800_56b_test.c
+++ b/test/rsa_sp800_56b_test.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * 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>
@@ -215,6 +221,7 @@ static int test_check_prime_factor(void)
return ret;
}
+/* This test uses legacy functions because they can take invalid numbers */
static int test_check_private_exponent(void)
{
int ret = 0;