22 lines
902 B
Diff
22 lines
902 B
Diff
diff -r e10f558e1df5 openjdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java
|
|
--- openjdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java Mon Aug 31 16:12:32 2020 +0100
|
|
+++ openjdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java Mon Aug 31 15:17:50 2020 -0300
|
|
@@ -628,7 +628,7 @@
|
|
throw (ShortBufferException)
|
|
(new ShortBufferException().initCause(e));
|
|
}
|
|
- reset(false);
|
|
+ reset(true);
|
|
throw new ProviderException("update() failed", e);
|
|
}
|
|
}
|
|
@@ -746,7 +746,7 @@
|
|
throw (ShortBufferException)
|
|
(new ShortBufferException().initCause(e));
|
|
}
|
|
- reset(false);
|
|
+ reset(true);
|
|
throw new ProviderException("update() failed", e);
|
|
}
|
|
}
|