Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
e0dcf4c4
Commit
e0dcf4c4
authored
Apr 09, 2021
by
Howard Chu
Browse files
ITS#9518 fix prev commit
parent
fe6a7403
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/ldap-int.h
View file @
e0dcf4c4
...
...
@@ -315,8 +315,7 @@ struct ldapoptions {
int
ldo_tls_require_san
;
char
*
ldo_tls_pin_hashalg
;
struct
berval
ldo_tls_pin
;
#define LDAP_LDO_TLS_NULLARG ,0,0,0,{0,0,0,0,0,0,0,0,0,\
LDAP_OPT_X_TLS_PROTOCOL(0,0), LDAP_OPT_X_TLS_PROTOCOL(255,255)},0,0,0,0,0,0,{0,0}
#define LDAP_LDO_TLS_NULLARG ,0,0,0,{0,0,0,0,0,0,0,0,0},0,0,0,0,0,0,{0,0}
#else
#define LDAP_LDO_TLS_NULLARG
#endif
...
...
libraries/libldap/tls_o.c
View file @
e0dcf4c4
...
...
@@ -363,7 +363,7 @@ tlso_ctx_init( struct ldapoptions *lo, struct ldaptls *lt, int is_server )
if
(
opt
)
SSL_CTX_set_options
(
ctx
,
opt
);
}
{
if
(
lo
->
ldo_tls_protocol_max
)
{
int
opt
=
0
;
#ifdef SSL_OP_NO_TLSv1_3
if
(
lo
->
ldo_tls_protocol_max
<
LDAP_OPT_X_TLS_PROTOCOL_TLS1_3
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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