Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
cfd94493
Commit
cfd94493
authored
Apr 06, 2003
by
Kurt Zeilenga
Browse files
Mark a few error strings
parent
d263297d
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls.c
View file @
cfd94493
...
...
@@ -1102,7 +1102,8 @@ ldap_pvt_tls_check_hostname( LDAP *ld, void *s, const char *name_in )
"TLS: unable to get common name from peer certificate.
\n
"
,
0
,
0
,
0
);
#endif
ld
->
ld_error
=
LDAP_STRDUP
(
"TLS: unable to get CN from peer certificate"
);
ld
->
ld_error
=
LDAP_STRDUP
(
_
(
"TLS: unable to get CN from peer certificate"
));
}
else
if
(
strcasecmp
(
name
,
buf
))
{
#ifdef NEW_LOGGING
...
...
@@ -1115,7 +1116,8 @@ ldap_pvt_tls_check_hostname( LDAP *ld, void *s, const char *name_in )
name
,
buf
,
0
);
#endif
ret
=
LDAP_CONNECT_ERROR
;
ld
->
ld_error
=
LDAP_STRDUP
(
"TLS: hostname does not match CN in peer certificate"
);
ld
->
ld_error
=
LDAP_STRDUP
(
_
(
"TLS: hostname does not match CN in peer certificate"
));
}
else
{
ret
=
LDAP_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