TEST: Optionally silence OpenSSL::Test::setup()
[openssl.git] / test / sm2_internal_test.c
index 8e76daa913fad559fd360f425dcb53527fb0f9b0..9188ef7011399f895e9c352d47d9f4fb40ccbf4f 100644 (file)
@@ -7,6 +7,11 @@
  * https://www.openssl.org/source/license.html
  */
 
+/*
+ * Low level APIs are deprecated for public use, but still ok for internal use.
+ */
+#include "internal/deprecated.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -21,7 +26,7 @@
 
 #ifndef OPENSSL_NO_SM2
 
-# include "internal/sm2.h"
+# include "crypto/sm2.h"
 
 static RAND_METHOD fake_rand;
 static const RAND_METHOD *saved_rand;