diff options
author | Rich Salz <rsalz@openssl.org> | 2016-09-28 14:39:32 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-09-28 14:39:32 -0400 |
commit | a269e5f09a6e8f5b7a1f5ab92a90a41e61631e74 (patch) | |
tree | 884affb3346d11d69dc095728a1c2aa4a3638b36 /apps | |
parent | 4badd2b3c29c2c6c551c737c07a429a53d9d1a0d (diff) |
Revert "Call ENGINE_init() before trying to use keys from engine"
This reverts commit 4badd2b3c29c2c6c551c737c07a429a53d9d1a0d.
This fails to call ENGINE_finish; an alternate fix is coming.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index 40401c12ef..9fdc3e0097 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -1553,7 +1553,7 @@ ENGINE *setup_engine(BIO *err, const char *engine, int debug) ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM, 0, err, 0); } ENGINE_ctrl_cmd(e, "SET_USER_INTERFACE", 0, ui_method, 0, 1); - if (!ENGINE_init(e) || !ENGINE_set_default(e, ENGINE_METHOD_ALL)) { + if (!ENGINE_set_default(e, ENGINE_METHOD_ALL)) { BIO_printf(err, "can't use that engine\n"); ERR_print_errors(err); ENGINE_free(e); |