mirror of
https://github.com/openssl/openssl.git
synced 2024-12-16 05:23:50 +08:00
Revert "Call ENGINE_init() before trying to use keys from engine"
This reverts commit 0a72002993
.
This fails to call ENGINE_finish; an alternate fix is forthcoming.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
0a72002993
commit
56e36bdaef
@ -1269,7 +1269,7 @@ ENGINE *setup_engine(const char *engine, int debug)
|
||||
ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM, 0, bio_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(bio_err, "can't use that engine\n");
|
||||
ERR_print_errors(bio_err);
|
||||
ENGINE_free(e);
|
||||
|
Loading…
Reference in New Issue
Block a user