Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
056b193e
Commit
056b193e
authored
Apr 07, 2006
by
Howard Chu
Browse files
Don't implicitly inherit the default SSL_CTX, tls.c:alloc_handle will
set it explicitly and handle its refcount.
parent
7a5d12cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/open.c
View file @
056b193e
...
...
@@ -137,12 +137,12 @@ ldap_create( LDAP **ldp )
#endif
#ifdef HAVE_TLS
/* We inherit the SSL_CTX, don't need the names/paths. Leave
them
* empty to allow new SSL_CTX's to be created from scratch.
/* We
explicitly
inherit the SSL_CTX, don't need the names/paths. Leave
*
them
empty to allow new SSL_CTX's to be created from scratch.
*/
memset
(
&
ld
->
ld_options
.
ldo_tls_info
,
0
,
sizeof
(
ld
->
ld_options
.
ldo_tls_info
));
ld
->
ld_options
.
ldo_tls_ctx
=
NULL
;
#endif
if
(
gopts
->
ldo_tm_api
&&
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment