diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2009-03-23 16:44:25 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2009-03-23 16:44:25 +0000 |
commit | 0e8dbf40b28d0e4ece97bfdf95cefae418cb609c (patch) | |
tree | 5552ff4af85da03c140d3bba9360f65da7264f81 | |
parent | 37bf7ccbecf011719ddf12d5a887eb0028b84907 (diff) | |
download | ds-0e8dbf40b28d0e4ece97bfdf95cefae418cb609c.tar.gz ds-0e8dbf40b28d0e4ece97bfdf95cefae418cb609c.tar.xz ds-0e8dbf40b28d0e4ece97bfdf95cefae418cb609c.zip |
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.
-rw-r--r-- | ldap/servers/slapd/tools/mmldif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/slapd/tools/mmldif.c b/ldap/servers/slapd/tools/mmldif.c index 579605a9..ccc4eabd 100644 --- a/ldap/servers/slapd/tools/mmldif.c +++ b/ldap/servers/slapd/tools/mmldif.c @@ -347,6 +347,8 @@ int mm_diff(stats_t *statsp) 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 |