Open Bug 1012891 Opened 12 years ago Updated 2 years ago

Map SEC_ERROR_INVALID_ALGORITHM to CKR_MECHANISM_INVALID , not CKR_DEVICE_ERROR

Categories

(NSS :: Libraries, defect, P5)

3.16.1
x86_64
Windows 7

Tracking

(Not tracked)

3.16.2

People

(Reporter: ryan.sleevi, Unassigned)

Details

As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1009785#c4 , CKR_MECHANISM_INVALID is mapped to SEC_ERROR_INVALID_ALGORITHM, but the converse is not true - SEC_ERROR_INVALID_ALGORITHM is not mapped to CKR_MECHANISM_INVALID by freebl/softoken See http://mxr.mozilla.org/nss/source/lib/softoken/pkcs11c.c#95
Target Milestone: --- → 3.16.2
Severity: normal → S3

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: ryan.sleevi → nobody
Severity: S3 → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.