RFR: 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters [v3]

Weijun Wang weijun at openjdk.org
Tue Nov 15 21:56:36 UTC 2022


On Tue, 15 Nov 2022 21:44:52 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   expected
>
> src/java.base/share/classes/sun/security/pkcs12/MacData.java line 119:
> 
>> 117:     }
>> 118: 
>> 119:     MacData(AlgorithmParameters algParams, byte[] digest,
> 
> Is this related to this issue in some way or just a ctor that is not used?

The constructor is not used anywhere, and it has an `AlgorithmParameters ` argument that could also be uninitialized.

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

PR: https://git.openjdk.org/jdk/pull/11067


More information about the security-dev mailing list