]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/asn1_decode_test.c
Refactor the computation of API version limits
[thirdparty/openssl.git] / test / asn1_decode_test.c
index b48b9b57bce2ffbbb24a76ac572772d02ffb5082..3f7e99ec94eabbae983d4f7e07842713cf668096 100644 (file)
@@ -28,7 +28,7 @@ static unsigned char t_invalid_zero[] = {
     0x02, 0x00                   /* INTEGER tag + length */
 };
 
-#if OPENSSL_API_COMPAT < 0x30000000L
+#if !OPENSSL_API_3
 /* LONG case ************************************************************* */
 
 typedef struct {
@@ -162,7 +162,7 @@ static int test_uint64(void)
 
 int setup_tests(void)
 {
-#if OPENSSL_API_COMPAT < 0x30000000L
+#if !OPENSSL_API_3
     ADD_TEST(test_long);
 #endif
     ADD_TEST(test_int32);