Closed
Bug 174659
Opened 22 years ago
Closed 22 years ago
Missing line break in cert requests generated by certutil
Categories
(NSS :: Tools, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.7
People
(Reporter: nelson, Assigned: nelson)
Details
The certificate requests generated by commands like certutil -R -a ... should end with -----END NEW CERTIFICATE REQUEST----- on a separate line by itself, e.g. Bg== -----END NEW CERTIFICATE REQUEST----- But instead the string that marks the end of the request is always appended to the last line of the Base 64 encoded request, e.g. Bg==-----END NEW CERTIFICATE REQUEST-----
Assignee | ||
Comment 1•22 years ago
|
||
Here's a patch: --- certutil/certutil.c 26 Sep 2002 20:30:11 -0000 1.62 +++ certutil/certutil.c 15 Oct 2002 17:52:56 -0000 @@ -453,7 +453,7 @@ SECU_PrintSystemError(progName, "write error"); return SECFailure; } - PR_fprintf(outFile, "%s\n", NS_CERTREQ_TRAILER); + PR_fprintf(outFile, "\n%s\n", NS_CERTREQ_TRAILER); } else { numBytes = PR_Write(outFile, result.data, result.len); if (numBytes != (int)result.len) {
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•22 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.7
You need to log in
before you can comment on or make changes to this bug.
Description
•