Don't set the Token value before fetching CRL attributes. This code is fetching
authorrelyea%netscape.com
Thu, 25 Apr 2002 18:33:45 +0000
changeset 3052 b0b1f385747b8803ab40cfc1abcf6d9f74c75c72
parent 3051 018fc7671d9f0dbdc152f2d2f0aa116d7b761340
child 3053 0dbe49a9977b608c8e927b07181a3e368bedd347
push idunknown
push userunknown
push dateunknown
Don't set the Token value before fetching CRL attributes. This code is fetching attributes from a known CRL, not looking up new attributes (I'm pretty sure that CVS apropos would show I checked in the previously wrong code). bob
security/nss/lib/dev/ckhelper.c
--- a/security/nss/lib/dev/ckhelper.c
+++ b/security/nss/lib/dev/ckhelper.c
@@ -615,17 +615,17 @@ nssCryptokiCRL_GetAttributes
     nssSession *session;
     CK_BBOOL isToken;
     CK_ATTRIBUTE_PTR attr;
     CK_ATTRIBUTE crl_template[5];
     CK_ULONG crl_size;
     PRUint32 i;
 
     NSS_CK_TEMPLATE_START(crl_template, attr, crl_size);
-    NSS_CK_SET_ATTRIBUTE_VAR(attr, CKA_TOKEN, isToken);
+    /* NSS_CK_SET_ATTRIBUTE_VAR(attr, CKA_TOKEN, isToken); */
     if (encodingOpt) {
 	NSS_CK_SET_ATTRIBUTE_NULL(attr, CKA_VALUE);
     }
     if (urlOpt) {
 	NSS_CK_SET_ATTRIBUTE_NULL(attr, CKA_NETSCAPE_URL);
     }
     if (isKRLOpt) {
 	NSS_CK_SET_ATTRIBUTE_NULL(attr, CKA_NETSCAPE_KRL);