]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/rsa_sp800_56b_test.c
Deprecate RSA harder
[thirdparty/openssl.git] / test / rsa_sp800_56b_test.c
index 72451b37ca6eccda3b3ccd303d359baf71146506..94369ce701e0049c5cdeee65e10724a256ec14c0 100644 (file)
@@ -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;