]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/provider_test.c
For provider tests, don't define a OPENSSL_NO_ macro
[thirdparty/openssl.git] / test / provider_test.c
index ee6f94cbe11c0739a45cf4f59d8b2d97ef11d2de..c00f5ab4eba73dd3ed82e846e637ad989a7caa98 100644 (file)
@@ -49,7 +49,7 @@ static int test_builtin_provider(void)
         && test_provider(name);
 }
 
-#ifndef OPENSSL_NO_MODULE
+#ifndef NO_PROVIDER_MODULE
 static int test_loaded_provider(void)
 {
     const char *name = "p_test";
@@ -61,7 +61,7 @@ static int test_loaded_provider(void)
 int setup_tests(void)
 {
     ADD_TEST(test_builtin_provider);
-#ifndef OPENSSL_NO_MODULE
+#ifndef NO_PROVIDER_MODULE
     ADD_TEST(test_loaded_provider);
 #endif
     return 1;