sysinit default slotFlags list is old and probably needs updating to match pk11slot

UNCONFIRMED
Unassigned

Status

NSS
Tools
UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: Adam Williamson, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
Build ID: 20140816133558

Steps to reproduce:

Examined lib/sysinit/nsssysinit.c


Actual results:

line #193 sets the slotFlags for slots 1 and 3 (the crypto operations slots) to:

RSA,RC4,RC2,DES,DH,SHA1,MD5,MD2,SSL,TLS,AES,RANDOM


Expected results:

I believe it should set them to something like:

RSA,DSA,ECC,DH,RC2,RC4,DES,RANDOM,SHA1,MD5,MD2,SSL,TLS,AES,Camellia,SEED,SHA256,SHA512,SKIPJACK

it should probably match the PK11DefaultArrayEntry const in lib/pk11wrap/pk11slot.c ?
You need to log in before you can comment on or make changes to this bug.