On Fri, 7 Mar 2025 22:03:54 GMT, Anthony Scarpino <ascarp...@openjdk.org> wrote:

>> src/java.base/share/classes/sun/security/util/DisabledAlgorithmConstraints.java
>>  line 276:
>> 
>>> 274:                 yield List.of(nc.getNameAndAliases());
>>> 275:             }
>>> 276:             default -> List.of(key.getAlgorithm(), 
>>> KeyUtil.getAlgorithm(key));
>> 
>> What if these 2 are the same string?
>
> Are you concerned about duplicate checks?

Yes.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23647#discussion_r1985769790

Reply via email to