Closed Bug 95666 Opened 24 years ago Closed 24 years ago

ImportDERPublicKey assigns CK_KEY_TYPE to pubkey->type

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

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

References

Details

The "type" field of a PublicKey is supposed to be KeyType, but I assign a CK_KEY_TYPE to it. This means keys created with this function have an invalid "type" field.
Fixed on the trunk. /cvsroot/mozilla/security/nss/lib/cryptohi/seckey.c,v <-- seckey.c new revision: 1.11; previous revision: 1.10
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.4
This needs fixin' on the JSS_3_1_BRANCH.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
*** Bug 102966 has been marked as a duplicate of this bug. ***
Jamie, could you check in the fix for this bug on the NSS_3_3_BRANCH and mark the bug fixed?
Priority: -- → P1
Target Milestone: 3.4 → 3.3.2
Fixed on NSS_3_3_BRANCH. /cvsroot/mozilla/security/nss/lib/cryptohi/seckey.c,v <-- seckey.c new revision: 1.9.2.1; previous revision: 1.9
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.