#include "internal/provider.h"
#include "testutil.h"
+#if !defined(DSO_VMS) && !defined(DSO_DLCFN) && !defined(DSO_DL) \
+ && !defined(DSO_WIN32) && !defined(DSO_DLFCN)
+# define OPENSSL_NO_DSO
+#endif
+
extern OSSL_provider_init_fn PROVIDER_INIT_FUNCTION_NAME;
static char buf[256];
&& test_provider(prov);
}
-#ifndef OPENSSL_NO_SHARED
+#ifndef OPENSSL_NO_DSO
static int test_loaded_provider(void)
{
const char *name = "p_test";
int setup_tests(void)
{
ADD_TEST(test_builtin_provider);
-#ifndef OPENSSL_NO_SHARED
+#ifndef OPENSSL_NO_DSO
ADD_TEST(test_loaded_provider);
#endif
return 1;
#include <openssl/provider.h>
#include "testutil.h"
+#if !defined(DSO_VMS) && !defined(DSO_DLCFN) && !defined(DSO_DL) \
+ && !defined(DSO_WIN32) && !defined(DSO_DLFCN)
+# define OPENSSL_NO_DSO
+#endif
+
+
extern OSSL_provider_init_fn PROVIDER_INIT_FUNCTION_NAME;
static char buf[256];
return
TEST_true(OSSL_PROVIDER_add_builtin(NULL, name,
- PROVIDER_INIT_FUNCTION_NAME))
+ PROVIDER_INIT_FUNCTION_NAME))
&& test_provider(name);
}
-#ifndef OPENSSL_NO_SHARED
+#ifndef OPENSSL_NO_DSO
static int test_loaded_provider(void)
{
const char *name = "p_test";
int setup_tests(void)
{
ADD_TEST(test_builtin_provider);
-#ifndef OPENSSL_NO_SHARED
+#ifndef OPENSSL_NO_DSO
ADD_TEST(test_loaded_provider);
#endif
return 1;