mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
ITS#9518 fix prev commit
This commit is contained in:
parent
fe6a740381
commit
e0dcf4c4d7
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue