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
Nadezhda Ivanova
OpenLDAP
Commits
c5125263
Commit
c5125263
authored
Oct 07, 2008
by
Howard Chu
Browse files
Accept X-starttls for prev commit
parent
809548c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/request.c
View file @
c5125263
...
...
@@ -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
;
}
}
...
...
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