On Thu, 21 Jan 2021 16:23:21 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> Clean up temporary byte array, char array, and keyspec around keys and 
>> passwords.
>> 
>> No new regression test.
>
> Weijun Wang has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains three commits:
> 
>  - rsa
>  - Merge
>  - 8258915: More temporary buffer cleanup
>    
>    8258915: More temporary buffer cleanup

src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java line 233:

> 231:             DerValue val = DerValue.wrap(DerValue.tag_Sequence, out);
> 232:             key = val.toByteArray();
> 233:             val.clear();

Update RSAPrivateKeyImpl.java also for consistency sake?

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

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

Reply via email to