Closed
Bug 67501
Opened 25 years ago
Closed 25 years ago
sdrtest ignores -d flag.
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rrelyea, Assigned: rrelyea)
Details
Attachments
(1 file)
|
865 bytes,
patch
|
Details | Diff | Splinter Review |
sdrtest tries to use the old "SetConfigDirectory" call to set the cert database
directory instead of setting the certDir variable passed into NSS_Init()
Since I have a patch already I'll just leave this assigned to me.
| Assignee | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
The PL_strdup calls don't seem to be necessary.
If they are, we should add corresponding PR_Free
calls, which will make it easier to Purify the
test.
Comment 3•25 years ago
|
||
For some reason, Bob and I have been commenting on this patch
in the wrong bug report. We've been commenting in bug 67068.
I think this program should continue to use SECU_ConfigDirectory
to be consistent with other nss utiltity programs.
Please see the comments there.
Wan-teh, the strdups are there to eliminate a warning about
assigning the value of a pointer to const char to a pointer
to char. A better solution is to add const declarations to
various char * declarations and function prototypes.
| Assignee | ||
Comment 4•25 years ago
|
||
OK, I've checked in the fix suggested by Nelson in bug 67068 (using
SECU_ConfigDirectory(NULL) to get the directory. I did not include the strcpy's
I originally suggested in the patch.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•