git: openjdk/jdk8u-dev: 8183107: PKCS11 regression regarding checkKeySize

Paul Hohensee phh at openjdk.org
Mon Aug 22 16:12:17 UTC 2022


Changeset: 1b52b014
Author:    Zdenek Zambersky <zzambers at redhat.com>
Committer: Paul Hohensee <phh at openjdk.org>
Date:      2022-08-22 16:10:35 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/1b52b014b6150efd480810d6561414c782c1f8c7

8183107: PKCS11 regression regarding checkKeySize

Changed key size check in PKCS11 provider to only enforce positive return values

Reviewed-by: phh, andrew
Backport-of: 67ca52873f088a08705baeef3e66319de1600576

! jdk/src/share/classes/sun/security/pkcs11/P11KeyGenerator.java
! jdk/src/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java
! jdk/src/share/classes/sun/security/pkcs11/P11Signature.java
! jdk/src/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM_INFO.java



More information about the jdk8u-dev-changes mailing list