Add a macro OSSL_DEPRECATED for compiler dependent deprecation attributes
[openssl.git] / test / asn1_decode_test.c
index 81c0f9355859f26d26138d6d7543bd2bb2424448..b0c031a5a29a808a2059d6bdaf1975ba6282a2a8 100644 (file)
@@ -28,7 +28,7 @@ static unsigned char t_invalid_zero[] = {
     0x02, 0x00                   /* INTEGER tag + length */
 };
 
-#if !OPENSSL_API_3
+#ifndef OPENSSL_NO_DEPRECATED_3_0
 /* LONG case ************************************************************* */
 
 typedef struct {
@@ -162,7 +162,7 @@ static int test_uint64(void)
 
 int setup_tests(void)
 {
-#if !OPENSSL_API_3
+#ifndef OPENSSL_NO_DEPRECATED_3_0
     ADD_TEST(test_long);
 #endif
     ADD_TEST(test_int32);