projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apps: instead of varying implementation, make setup_engine a function always
[openssl.git]
/
apps
/
apps.c
diff --git
a/apps/apps.c
b/apps/apps.c
index 05e1c2d009aeeed7b3117e99a4bc61aa98477da1..dd6fb08c9406ca232535b236b78a78ce757ead5c 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-1251,11
+1251,13
@@
static ENGINE *try_load_engine(const char *engine)
}
return e;
}
}
return e;
}
+#endif
ENGINE *setup_engine(const char *engine, int debug)
{
ENGINE *e = NULL;
ENGINE *setup_engine(const char *engine, int debug)
{
ENGINE *e = NULL;
+#ifndef OPENSSL_NO_ENGINE
if (engine) {
if (strcmp(engine, "auto") == 0) {
BIO_printf(bio_err, "enabling auto ENGINE support\n");
if (engine) {
if (strcmp(engine, "auto") == 0) {
BIO_printf(bio_err, "enabling auto ENGINE support\n");
@@
-1281,9
+1283,9
@@
ENGINE *setup_engine(const char *engine, int debug)
BIO_printf(bio_err, "engine \"%s\" set.\n", ENGINE_get_id(e));
}
BIO_printf(bio_err, "engine \"%s\" set.\n", ENGINE_get_id(e));
}
+#endif
return e;
}
return e;
}
-#endif
void release_engine(ENGINE *e)
{
void release_engine(ENGINE *e)
{