X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_ossltest.c;h=6e50a5fceaa57e3b2888b2e1cb3fe610f6435195;hp=689e5321ca5917f1de1e637508d0d74389f255b1;hb=c0cbb4c19bb6e22b338dd17c096be323f7414faf;hpb=c2a34c58f56980b80f034e8295210146b5c247c3 diff --git a/engines/e_ossltest.c b/engines/e_ossltest.c index 689e5321ca..6e50a5fcea 100644 --- a/engines/e_ossltest.c +++ b/engines/e_ossltest.c @@ -257,7 +257,7 @@ static int bind_ossltest(ENGINE *e) return 1; } -#ifdef ENGINE_DYNAMIC_SUPPORT +#ifndef OPENSSL_NO_DYNAMIC_ENGINE static int bind_helper(ENGINE *e, const char *id) { if (id && (strcmp(id, engine_ossltest_id) != 0)) @@ -269,7 +269,8 @@ static int bind_helper(ENGINE *e, const char *id) IMPLEMENT_DYNAMIC_CHECK_FN() IMPLEMENT_DYNAMIC_BIND_FN(bind_helper) -#else +#endif + static ENGINE *engine_ossltest(void) { ENGINE *ret = ENGINE_new(); @@ -292,7 +293,6 @@ void ENGINE_load_ossltest(void) ENGINE_free(toadd); ERR_clear_error(); } -#endif static int ossltest_init(ENGINE *e)