Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
d14b5f83
Commit
d14b5f83
authored
Aug 23, 2016
by
Soohoon Lee
Committed by
Quanah Gibson-Mount
Feb 09, 2018
Browse files
ITS#8484 - Fix MozNSS initialization
parent
28051be5
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls_m.c
View file @
d14b5f83
...
...
@@ -1142,6 +1142,8 @@ tlsm_auth_cert_handler(void *arg, PRFileDesc *fd,
return
ret
;
}
static
PRCallOnceType
tlsm_register_shutdown_callonce
=
{
0
,
0
};
static
SECStatus
tlsm_nss_shutdown_cb
(
void
*
appData
,
void
*
nssData
)
{
...
...
@@ -1154,10 +1156,15 @@ tlsm_nss_shutdown_cb( void *appData, void *nssData )
SECMOD_DestroyModule
(
pem_module
);
pem_module
=
NULL
;
}
/* init callonce so it can be armed again for cases like persistent daemon with LDAP_OPT_X_TLS_NEWCTX */
tlsm_register_shutdown_callonce
.
initialized
=
0
;
tlsm_register_shutdown_callonce
.
inProgress
=
0
;
tlsm_register_shutdown_callonce
.
status
=
0
;
return
rc
;
}
static
PRCallOnceType
tlsm_register_shutdown_callonce
=
{
0
,
0
};
static
PRStatus
PR_CALLBACK
tlsm_register_nss_shutdown_cb
(
void
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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