[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-directory-commits
Subject:    [Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools
From:       nhosoi () fedoraproject ! org (Noriko Hosoi)
Date:       2009-03-23 16:44:28
Message-ID: 20090323164428.CB50170133 () cvs1 ! fedora ! phx ! redhat ! com
[Download RAW message or body]

Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14981

Modified Files:
	mmldif.c 
Log Message:
Resolves: #491215
Summary: mmldif crashes in PK11_CreateDigestContext
Description: NSS was not initialized.  Since cert db, key db, or secmod db are
not needed, changed to call NSS_NoDB_Init to initialize NSS. 



Index: mmldif.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/mmldif.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mmldif.c	8 Oct 2008 17:29:04 -0000	1.9
+++ mmldif.c	23 Mar 2009 16:44:25 -0000	1.10
@@ -347,6 +347,8 @@
     time(&statsp->diff_start_time);
     license_count = 0;
 
+    NSS_NoDB_Init(".");
+
 /*
  *      read all entries from all directories hashing name and value, and make
  *      a bitmaps of who has each entry.  Flag those entries where at least

--
Fedora-directory-commits mailing list
Fedora-directory-commits@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic