Refactor the computation of API version limits
[openssl.git] / crypto / ec / ec_oct.c
index f6295c92a7d9e238f23023a6047ae9b1067651ec..12f476d2310fca4817f98e48e0eccf161d7d79ab 100644 (file)
@@ -49,7 +49,7 @@ int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point,
                                                          y_bit, ctx);
 }
 
-#if OPENSSL_API_COMPAT < 0x30000000L
+#if !OPENSSL_API_3
 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
                                             EC_POINT *point, const BIGNUM *x,
                                             int y_bit, BN_CTX *ctx)