mirror of
https://github.com/openssl/openssl.git
synced 2024-11-23 18:13:39 +08:00
Update from stable branch.
This commit is contained in:
parent
ffc2b3e927
commit
7555c9337f
@ -1608,6 +1608,12 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth)
|
||||
{
|
||||
ENGINE *eng;
|
||||
eng = ENGINE_by_id(eng_str(OPENSSL_SSL_CLIENT_ENGINE_AUTO));
|
||||
if (!eng)
|
||||
{
|
||||
ERR_clear_error();
|
||||
ENGINE_load_builtin_engines();
|
||||
eng = ENGINE_by_id(eng_str(OPENSSL_SSL_CLIENT_ENGINE_AUTO));
|
||||
}
|
||||
if (!eng || !SSL_CTX_set_client_cert_engine(ret, eng))
|
||||
ERR_clear_error();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user