projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01f085
)
If auto load ENGINE lookup fails retry adding builtin ENGINEs.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 5 Jun 2008 15:13:03 +0000
(15:13 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 5 Jun 2008 15:13:03 +0000
(15:13 +0000)
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index c834eada16ecc33063c686c369692bc3ea5c61c5..5c6ca2e666d2ffa6296773e03a6277307b37fc82 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-1525,6
+1525,12
@@
SSL_CTX *SSL_CTX_new(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();
}