Blame SOURCES/rh1868759-pkcs11_cancel_on_failure.patch

cdbd41
--- openjdk/jdk/src/share/classes/sun/security/pkcs11/P11Cipher.java      Mon Aug 31 06:57:19 2020 +0100
cdbd41
+++ openjdk/jdk/src/share/classes/sun/security/pkcs11/P11Cipher.java      Mon Aug 31 15:56:48 2020 -0300
cdbd41
@@ -627,7 +627,7 @@
cdbd41
                 throw (ShortBufferException)
cdbd41
                         (new ShortBufferException().initCause(e));
cdbd41
             }
cdbd41
-            reset(false);
cdbd41
+            reset(true);
cdbd41
             throw new ProviderException("update() failed", e);
cdbd41
         }
cdbd41
     }
cdbd41
@@ -745,7 +745,7 @@
cdbd41
                 throw (ShortBufferException)
cdbd41
                         (new ShortBufferException().initCause(e));
cdbd41
             }
cdbd41
-            reset(false);
cdbd41
+            reset(true);
cdbd41
             throw new ProviderException("update() failed", e);
cdbd41
         }
cdbd41
     }