summaryrefslogtreecommitdiffstats
path: root/test/asn1_decode_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asn1_decode_test.c')
-rw-r--r--test/asn1_decode_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asn1_decode_test.c b/test/asn1_decode_test.c
index 81c0f93558..b0c031a5a2 100644
--- a/test/asn1_decode_test.c
+++ b/test/asn1_decode_test.c
@@ -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);