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
Dragoș Haiduc
OpenLDAP
Commits
06567ee5
Commit
06567ee5
authored
23 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add ldap_pvt_tls_destroy
parent
8e721424
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ldap_pvt.h
+1
-0
1 addition, 0 deletions
include/ldap_pvt.h
libraries/libldap/tls.c
+11
-0
11 additions, 0 deletions
libraries/libldap/tls.c
with
12 additions
and
0 deletions
include/ldap_pvt.h
+
1
−
0
View file @
06567ee5
...
...
@@ -169,6 +169,7 @@ ldap_pvt_str2lower LDAP_P(( char *str ));
/* tls.c */
LDAP_F
(
int
)
ldap_pvt_tls_init
LDAP_P
((
void
));
LDAP_F
(
void
)
ldap_pvt_tls_destroy
LDAP_P
((
void
));
LDAP_F
(
int
)
ldap_pvt_tls_connect
LDAP_P
((
struct
ldap
*
ld
,
Sockbuf
*
sb
,
void
*
ctx_arg
));
LDAP_F
(
int
)
ldap_pvt_tls_accept
LDAP_P
((
Sockbuf
*
sb
,
void
*
ctx_arg
));
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/tls.c
+
11
−
0
View file @
06567ee5
...
...
@@ -97,6 +97,17 @@ static void tls_init_threads( void )
}
#endif
/* LDAP_R_COMPILE */
/*
* Tear down the TLS subsystem. Should only be called once.
*/
void
ldap_pvt_tls_destroy
(
void
)
{
SSL_CTX_free
(
tls_def_ctx
);
EVP_cleanup
();
ERR_free_strings
();
}
/*
* Initialize TLS subsystem. Should be called only once.
*/
...
...
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