[13] RFR JDK-8183107: PKCS11 regression regarding checkKeySize
Valerie Peng
valerie.peng at oracle.com
Fri Feb 22 21:14:16 UTC 2019
Anyone can help reviewing this fix? According to the bug report, some
vendors return 0 for both min/max key size range when queried which
leads to unexpected errors when SunPKCS11 provider validates key sizes.
So, I modified the code to work around this. No new regression test as
this is vendor specific and not an issue for the current PKCS11
libraries used in regression testing.
Bug: https://bugs.openjdk.java.net/browse/JDK-8183107
Webrev: http://cr.openjdk.java.net/~valeriep/8183107/webrev.00/
Mach5 run is clean.
Thanks,
Valerie
More information about the security-dev
mailing list