On Tue, 16 Jun 2026 02:46:34 GMT, Anthony Scarpino <[email protected]> 
wrote:

>> Weijun Wang has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   more key check; no raw private key; dedup test
>
> src/java.base/share/classes/sun/security/provider/HSS.java line 869:
> 
>> 867:                     return key;
>> 868:                 }
>> 869:                 String format = key.getFormat();
> 
> Should there be a check that the `key` is a `PublicKey`?

Yes. I'll add one.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31521#discussion_r3420502054

Reply via email to