aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_nss_mgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_nss_mgt.c')
-rw-r--r--src/lib/crypt_ops/crypto_nss_mgt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_nss_mgt.c b/src/lib/crypt_ops/crypto_nss_mgt.c
index 84d9f027a4..6bcaeabd5a 100644
--- a/src/lib/crypt_ops/crypto_nss_mgt.c
+++ b/src/lib/crypt_ops/crypto_nss_mgt.c
@@ -93,3 +93,10 @@ crypto_nss_global_cleanup(void)
{
NSS_Shutdown();
}
+
+void
+crypto_nss_postfork(void)
+{
+ crypto_nss_global_cleanup();
+ crypto_nss_early_init();
+}