Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
4265849b
Commit
4265849b
authored
Apr 27, 2020
by
Howard Chu
Browse files
ITS#9176 check for failure setting SNI
parent
b8f34888
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls_o.c
View file @
4265849b
...
...
@@ -531,7 +531,9 @@ tlso_session_connect( LDAP *ld, tls_session *sess, const char *name_in )
#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
if
(
name_in
)
{
SSL_set_tlsext_host_name
(
s
,
name_in
);
rc
=
SSL_set_tlsext_host_name
(
s
,
name_in
);
if
(
!
rc
)
/* can fail to strdup the name */
return
-
1
;
}
#endif
/* Caller expects 0 = success, OpenSSL returns 1 = success */
...
...
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