RFR: 8346129: Simplify EdDSA & XDH curve name usage [v4]
Weijun Wang
weijun at openjdk.org
Fri Mar 7 22:07:56 UTC 2025
On Fri, 7 Mar 2025 22:03:54 GMT, Anthony Scarpino <ascarpino at 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
More information about the security-dev
mailing list