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
Show replies by date