RFR: 8258833: Cancel multi-part cipher operations in SunPKCS11 after failures [v7]

Valerie Peng valeriep at openjdk.java.net
Fri Jan 22 02:22:14 UTC 2021


On Wed, 20 Jan 2021 13:52:26 GMT, Martin Balao <mbalao at openjdk.org> wrote:

>> Martin Balao has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Align doCancel pattern in 'P11Cipher::implDoFinal(byte[]..' to 'P11Cipher::implDoFinal(ByteBuffer..'. Better documentation in P11Cipher. Copyright date updated.
>>  - Copyright dates updated to 2021 on modified files
>
> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java line 812:
> 
>> 810:                     // only after this point. See JDK-8258833 for further
>> 811:                     // information.
>> 812:                     doCancel = false;
> 
> Same comment that for line 793 of P11Cipher

Yes, looks good.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1901



More information about the security-dev mailing list