Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Christopher Ng
OpenLDAP
Commits
5c701066
Commit
5c701066
authored
23 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
ITS#1708 ldap_pvt_tls_sb_ctx() et al
parent
70d4ef9a
No related branches found
Branches containing commit
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
include/ldap_pvt.h
+4
-1
4 additions, 1 deletion
include/ldap_pvt.h
libraries/libldap/tls.c
+1
-1
1 addition, 1 deletion
libraries/libldap/tls.c
servers/slapd/connection.c
+1
-1
1 addition, 1 deletion
servers/slapd/connection.c
with
6 additions
and
3 deletions
include/ldap_pvt.h
+
4
−
1
View file @
5c701066
...
...
@@ -163,6 +163,8 @@ LDAP_F( char * )
ldap_pvt_str2lower
LDAP_P
((
char
*
str
));
/* tls.c */
LDAP_F
(
int
)
ldap_int_tls_config
LDAP_P
((
struct
ldap
*
ld
,
int
option
,
const
char
*
arg
));
LDAP_F
(
int
)
ldap_pvt_tls_get_option
LDAP_P
((
struct
ldap
*
ld
,
int
option
,
void
*
arg
));
LDAP_F
(
int
)
ldap_pvt_tls_set_option
LDAP_P
((
struct
ldap
*
ld
,
...
...
@@ -170,9 +172,10 @@ LDAP_F (int) ldap_pvt_tls_set_option LDAP_P(( struct ldap *ld,
LDAP_F
(
void
)
ldap_pvt_tls_destroy
LDAP_P
((
void
));
LDAP_F
(
int
)
ldap_pvt_tls_init
LDAP_P
((
void
));
LDAP_F
(
int
)
ldap_pvt_tls_init_def_ctx
LDAP_P
((
void
));
LDAP_F
(
int
)
ldap_pvt_tls_accept
LDAP_P
((
Sockbuf
*
sb
,
void
*
ctx_arg
));
LDAP_F
(
int
)
ldap_pvt_tls_inplace
LDAP_P
((
Sockbuf
*
sb
));
LDAP_F
(
void
*
)
ldap_pvt_tls_
get
_ctx
LDAP_P
((
Sockbuf
*
sb
));
LDAP_F
(
void
*
)
ldap_pvt_tls_
sb
_ctx
LDAP_P
((
Sockbuf
*
sb
));
LDAP_F
(
int
)
ldap_pvt_tls_init_default_ctx
LDAP_P
((
void
));
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/tls.c
+
1
−
1
View file @
5c701066
...
...
@@ -1236,7 +1236,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
return
(
ld
->
ld_errno
);
}
ssl
=
(
void
*
)
ldap_pvt_tls_sb_ctx
(
sb
);
ssl
=
ldap_pvt_tls_sb_ctx
(
sb
);
assert
(
ssl
!=
NULL
);
/*
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/connection.c
+
1
−
1
View file @
5c701066
...
...
@@ -1137,7 +1137,7 @@ int connection_read(ber_socket_t s)
c
->
c_needs_tls_accept
=
0
;
/* we need to let SASL know */
ssl
=
(
void
*
)
ldap_pvt_tls_sb_ctx
(
c
->
c_sb
);
ssl
=
ldap_pvt_tls_sb_ctx
(
c
->
c_sb
);
c
->
c_tls_ssf
=
(
slap_ssf_t
)
ldap_pvt_tls_get_strength
(
ssl
);
if
(
c
->
c_tls_ssf
>
c
->
c_ssf
)
{
...
...
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