RFR: 8333364: Minor cleanup could be done in com.sun.crypto.provider

Valerie Peng valeriep at openjdk.org
Wed Jun 12 00:02:12 UTC 2024


On Tue, 4 Jun 2024 02:32:31 GMT, Mark Powers <mpowers at openjdk.org> wrote:

> https://bugs.openjdk.org/browse/JDK-8333364

src/java.base/share/classes/com/sun/crypto/provider/DHKeyAgreement.java line 408:

> 406:             if (keysize >= BlowfishConstants.BLOWFISH_MAX_KEYSIZE)
> 407:                 keysize = BlowfishConstants.BLOWFISH_MAX_KEYSIZE;
> 408:             return new SecretKeySpec(secret, 0, keysize,

nit: merge the following line, i.e. "Blowfish", with this line?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19535#discussion_r1635614443



More information about the security-dev mailing list