coverity 1462562 Dereference before null check
[openssl.git] / test / ecdsatest.c
index cbe5e62d1db80d639b8303904087cce826015678..f7d6608f392e922b42ac2a979fa1722b9d5ef9df 100644 (file)
@@ -123,10 +123,10 @@ static int x9_62_tests(int n)
 
     TEST_info("ECDSA KATs for curve %s", OBJ_nid2sn(nid));
 
-#ifdef FIPS_MODE
+#ifdef FIPS_MODULE
     if (EC_curve_nid2nist(nid) == NULL)
         return TEST_skip("skip non approved curves");
-#endif /* FIPS_MODE */
+#endif /* FIPS_MODULE */
 
     if (!TEST_ptr(mctx = EVP_MD_CTX_new())
         /* get the message digest */