Closed Bug 157998 Opened 23 years ago Closed 23 years ago

unable to importCertToPerm

Categories

(JSS Graveyard :: Library, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

Attachments

(1 file)

When I call the importCertToPerm, it core dumps in NSS. I got the following error: PR_FALSE PK11Cert.c: 441 This occurs if CERT_GetCertTrust returns SECFailure, which in turn would happen if cert->trust == NULL.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 3.2
This patch fixes cert import. It was broken when we made all NSS certificates PK11InternalTokenCerts.
Changing the subject of the bug to give a more accurate description of the problem. The cert wasn't even getting imported.
Summary: setting cert trust causes assertion → unable to importCertToPerm
Fixed. /cvsroot/mozilla/security/jss/org/mozilla/jss/CryptoManager.java,v <-- CryptoManager.java new revision: 1.10; previous revision: 1.9 /cvsroot/mozilla/security/jss/org/mozilla/jss/pkcs11/PK11Cert.c,v <-- PK11Cert.c new revision: 1.9; previous revision: 1.8
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: