projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use dynamic engine for libssl test harness
[openssl.git]
/
engines
/
e_ossltest.c
diff --git
a/engines/e_ossltest.c
b/engines/e_ossltest.c
index 689e5321ca5917f1de1e637508d0d74389f255b1..6e50a5fceaa57e3b2888b2e1cb3fe610f6435195 100644
(file)
--- a/
engines/e_ossltest.c
+++ b/
engines/e_ossltest.c
@@
-257,7
+257,7
@@
static int bind_ossltest(ENGINE *e)
return 1;
}
return 1;
}
-#if
def ENGINE_DYNAMIC_SUPPORT
+#if
ndef OPENSSL_NO_DYNAMIC_ENGINE
static int bind_helper(ENGINE *e, const char *id)
{
if (id && (strcmp(id, engine_ossltest_id) != 0))
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)
IMPLEMENT_DYNAMIC_CHECK_FN()
IMPLEMENT_DYNAMIC_BIND_FN(bind_helper)
-#else
+#endif
+
static ENGINE *engine_ossltest(void)
{
ENGINE *ret = ENGINE_new();
static ENGINE *engine_ossltest(void)
{
ENGINE *ret = ENGINE_new();
@@
-292,7
+293,6
@@
void ENGINE_load_ossltest(void)
ENGINE_free(toadd);
ERR_clear_error();
}
ENGINE_free(toadd);
ERR_clear_error();
}
-#endif
static int ossltest_init(ENGINE *e)
static int ossltest_init(ENGINE *e)