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
James Lowden
OpenLDAP
Commits
182dacfa
Commit
182dacfa
authored
14 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
moznss cleanup
parent
6d0f6f41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/libldap/tls_m.c
+6
-5
6 additions, 5 deletions
libraries/libldap/tls_m.c
with
6 additions
and
5 deletions
libraries/libldap/tls_m.c
+
6
−
5
View file @
182dacfa
...
...
@@ -103,9 +103,10 @@ static PRDescIdentity tlsm_layer_id;
static
const
PRIOMethods
tlsm_PR_methods
;
static
const
char
*
pem_library
=
"nsspem"
;
static
const
char
*
pem_mod_name
=
"PEM"
;
static
SECMODModule
*
pem_module
;
#define PEM_LIBRARY "nsspem"
#define PEM_MODULE "PEM"
static
SECMODModule
*
pem_module
;
#define DEFAULT_TOKEN_NAME "default"
/* sprintf format used to create token name */
...
...
@@ -978,9 +979,9 @@ tlsm_init_pem_module( void )
/* not loaded - load it */
/* get the system dependent library name */
fullname
=
PR_GetLibraryName
(
NULL
,
pem_library
);
fullname
=
PR_GetLibraryName
(
NULL
,
PEM_LIBRARY
);
/* Load our PKCS#11 module */
configstring
=
PR_smprintf
(
"library=%s name=
%s
parameters=
\"\"
"
,
fullname
,
pem_mod_name
);
configstring
=
PR_smprintf
(
"library=%s name=
"
PEM_MODULE
"
parameters=
\"\"
"
,
fullname
);
PL_strfree
(
fullname
);
pem_module
=
SECMOD_LoadUserModule
(
configstring
,
NULL
,
PR_FALSE
);
...
...
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