mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
Accept X-starttls for prev commit
This commit is contained in:
parent
809548c88b
commit
c51252633b
1 changed files with 5 additions and 4 deletions
|
|
@ -370,6 +370,7 @@ find_tls_ext( LDAPURLDesc *srv )
|
|||
crit = 1;
|
||||
}
|
||||
if ( !strcasecmp( ext, "StartTLS" ) ||
|
||||
!strcasecmp( ext, "X-StartTLS" ) ||
|
||||
!strcmp( ext, LDAP_EXOP_START_TLS )) {
|
||||
return crit + 1;
|
||||
}
|
||||
|
|
@ -1083,10 +1084,10 @@ ldap_chase_v3referrals( LDAP *ld, LDAPRequest *lr, char **refs, int sref, char *
|
|||
ok = 1;
|
||||
#endif
|
||||
if ( !ok ) {
|
||||
/* we do not support any other extensions */
|
||||
ld->ld_errno = LDAP_NOT_SUPPORTED;
|
||||
rc = -1;
|
||||
goto done;
|
||||
/* we do not support any other extensions */
|
||||
ld->ld_errno = LDAP_NOT_SUPPORTED;
|
||||
rc = -1;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue