NSS_Initialize does not return an error with missing secmod database

RESOLVED FIXED in 3.4

Status

NSS
Libraries
P1
normal
RESOLVED FIXED
17 years ago
17 years ago

People

(Reporter: Julien Pierre, Assigned: Robert Relyea)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
If you run some NSS command tools such as pk12util on NT, they look for 
databases in the ".netscape" directory, which does not exist.
In the 3.4 build, however, no error is returned from NSS_Initialize, and the 
program continues. In the case of pk12util it crashes in 
PK11_GetInternalKeySlot(), without even being able to display the syntax of the 
command.
You can also reproduce it on any other OS by doing "pk12util -d nonexistentdir" 
. I traced through the higher-level code and errors from NSS_Initialize are 
checked for, but none is returned.

NSS 3.3 does not have the problem.
(Reporter)

Updated

17 years ago
OS: Windows NT → All
Priority: -- → P1
Hardware: PC → All
Summary: NSS_Initialize does not return an error with missing secmod database on NT → NSS_Initialize does not return an error with missing secmod database

Comment 1

17 years ago
Bob, could you please take a look at this?
Assignee: wtc → relyea
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 3.4
(Assignee)

Comment 2

17 years ago
This is the same problem as the SDR test failures. It should now be working
correctly.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.