Bug 553512: SEC_OID_X509_ANY_POLICY should be INVALID_CERT_EXTENSION rather
authorwtc%google.com
Sat, 12 Jun 2010 01:56:15 +0000
changeset 9673 c5c919a7dd5a587b8c2155780ff2e1db15c75ed3
parent 9671 b2a9d98e83a2c53305eb6b7643de3bed4d4fc482
child 9674 e3e9e2d18c8619f6e869ce7d4812457d617d180f
push idunknown
push userunknown
push dateunknown
bugs553512
Bug 553512: SEC_OID_X509_ANY_POLICY should be INVALID_CERT_EXTENSION rather than UNSUPPORTED_CERT_EXTENSION. r=alexei.
security/nss/lib/util/secoid.c
--- a/security/nss/lib/util/secoid.c
+++ b/security/nss/lib/util/secoid.c
@@ -1610,17 +1610,17 @@ const static SECOidData oids[SEC_OID_TOT
 	CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION ),
 
     /* SEED algorithm OIDs */
     OD( seed_CBC, SEC_OID_SEED_CBC,
 	"SEED-CBC", CKM_SEED_CBC, INVALID_CERT_EXTENSION),
 
     OD( x509CertificatePoliciesAnyPolicy, SEC_OID_X509_ANY_POLICY,
  	"Certificate Policies AnyPolicy",
-        CKM_INVALID_MECHANISM, UNSUPPORTED_CERT_EXTENSION ),
+        CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION ),
 
     OD( pkcs1RSAOAEPEncryption, SEC_OID_PKCS1_RSA_OAEP_ENCRYPTION,
 	"PKCS #1 RSA-OAEP Encryption", CKM_RSA_PKCS_OAEP,
 	INVALID_CERT_EXTENSION ),
 
     OD( pkcs1MGF1, SEC_OID_PKCS1_MGF1,
 	"PKCS #1 MGF1 Mask Generation Function", CKM_INVALID_MECHANISM,
 	INVALID_CERT_EXTENSION ),