Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
315c8e08
Commit
315c8e08
authored
15 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6079
parent
38d40c4f
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
libraries/libldap/ldap-int.h
+4
-0
4 additions, 0 deletions
libraries/libldap/ldap-int.h
libraries/libldap/tls2.c
+6
-3
6 additions, 3 deletions
libraries/libldap/tls2.c
with
11 additions
and
3 deletions
CHANGES
+
1
−
0
View file @
315c8e08
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.17 Engineering
Fixed liblber to use ber_strnlen (ITS#6080)
Fixed libldap gnutls private key init (ITS#6053)
Fixed libldap tls NULL error messages (ITS#6079)
Fixed liblutil opendir/closedir on windows (ITS#6041)
Fixed liblutil for _GNU_SOURCE (ITS#5464,ITS#5666)
Fixed slapd errno handling (ITS#6037)
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/ldap-int.h
+
4
−
0
View file @
315c8e08
...
...
@@ -75,6 +75,9 @@
#ifdef LDAP_DEBUG
#define DebugTest( level ) \
( ldap_debug & level )
#define Debug( level, fmt, arg1, arg2, arg3 ) \
do { if ( ldap_debug & level ) \
ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
...
...
@@ -85,6 +88,7 @@
#else
#define DebugTest( level ) (0 == 1)
#define Debug( level, fmt, arg1, arg2, arg3 ) ((void)0)
#define LDAP_Debug( subsystem, level, fmt, arg1, arg2, arg3 ) ((void)0)
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/tls2.c
+
6
−
3
View file @
315c8e08
...
...
@@ -434,11 +434,14 @@ ldap_pvt_tls_accept( Sockbuf *sb, void *ctx_arg )
if
(
err
<
0
)
{
char
buf
[
256
];
if
(
update_flags
(
sb
,
ssl
,
err
))
return
1
;
Debug
(
LDAP_DEBUG_ANY
,
"TLS: can't accept: %s.
\n
"
,
tls_imp
->
ti_session_errmsg
(
err
,
buf
,
sizeof
(
buf
)
),
0
,
0
);
if
(
DebugTest
(
LDAP_DEBUG_ANY
)
)
{
char
buf
[
256
],
*
msg
;
msg
=
tls_imp
->
ti_session_errmsg
(
err
,
buf
,
sizeof
(
buf
)
);
Debug
(
LDAP_DEBUG_ANY
,
"TLS: can't accept: %s.
\n
"
,
msg
?
msg
:
"(unknown)"
,
0
,
0
);
}
ber_sockbuf_remove_io
(
sb
,
tls_imp
->
ti_sbio
,
LBER_SBIOD_LEVEL_TRANSPORT
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment