6848930: JSN security test jce/Global/Cipher/PKCS5Padding cannot thrown expected BadPaddingException
Summary: Disabled CKM_DES_CBC_PAD, CKM_DES3_CBC_PAD, CKM_AES_CBC_PAD mechs by default and use our own internal padding impl.
Reviewed-by: wetmore
--- a/jdk/src/share/lib/security/sunpkcs11-solaris.cfg Mon Nov 15 09:42:39 2010 -0800
+++ b/jdk/src/share/lib/security/sunpkcs11-solaris.cfg Mon Nov 15 14:32:49 2010 -0800
@@ -31,5 +31,9 @@
CKM_SHA256_RSA_PKCS
CKM_SHA384_RSA_PKCS
CKM_SHA512_RSA_PKCS
+# the following mechanisms are disabled to ensure backward compatibility (Solaris bug 6545046)
+ CKM_DES_CBC_PAD
+ CKM_DES3_CBC_PAD
+ CKM_AES_CBC_PAD
}