Switch future deprecation version from 1.2.0 to 3.0
[openssl.git] / test / asn1_encode_test.c
index 6a64bf904b16385f979a5ed41b7539aa71f6ea5b..4c4820e5928bd528bc9592f822e5f59b6c9d4dc6 100644 (file)
@@ -179,7 +179,7 @@ typedef struct {
     ENCDEC_DATA(-1, -1),                        \
     ENCDEC_DATA(0, ASN1_LONG_UNDEF)
 
-#if OPENSSL_API_COMPAT < 0x10200000L
+#if OPENSSL_API_COMPAT < 0x30000000L
 /***** LONG ******************************************************************/
 
 typedef struct {
@@ -824,7 +824,7 @@ static int test_intern(const TEST_PACKAGE *package)
     return fail == 0;
 }
 
-#if OPENSSL_API_COMPAT < 0x10200000L
+#if OPENSSL_API_COMPAT < 0x30000000L
 static int test_long_32bit(void)
 {
     return test_intern(&long_test_package_32bit);
@@ -858,7 +858,7 @@ static int test_uint64(void)
 
 int setup_tests(void)
 {
-#if OPENSSL_API_COMPAT < 0x10200000L
+#if OPENSSL_API_COMPAT < 0x30000000L
     ADD_TEST(test_long_32bit);
     ADD_TEST(test_long_64bit);
 #endif