Closed Bug 105188 Opened 23 years ago Closed 23 years ago

NSS_Initialize does not return an error with missing secmod database

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julien.pierre, Assigned: rrelyea)

Details

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.
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
Bob, could you please take a look at this?
Assignee: wtc → relyea
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 3.4
This is the same problem as the SDR test failures. It should now be working
correctly.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.