[8u] RFR: JDK-8236512: PKCS11 Connection closed after Cipher.doFinal and NoPadding

Andrew Hughes gnu.andrew at redhat.com
Thu Oct 8 05:10:35 UTC 2020

Bug: https://bugs.openjdk.java.net/browse/JDK-8236512
Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8236512/webrev.01/

This fixes an issue introduced by JDK-6946830, backported in 8u232-b01.
(see also duplicate report on JDK-8235215 [0]).

Patch application is mostly clean, once shuffled. The only differences
are in the copyright headers in P11Mac.java & P11RSACipher.java
(existing date is 2018 in 8u, not 2019), and P11Signature.java
(update to 2020 already added by JDK-8230978)

[0] https://bugs.openjdk.java.net/browse/JDK-8235215

Ok for 8u-dev?

Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

More information about the jdk8u-dev mailing list