On Thu, 28 Jul 2022 17:32:57 GMT, Kevin Driver <kdri...@openjdk.org> wrote:

> As mentioned in the bug report, this issue *should not* be a framework-level 
> issue, since potentially an individual provider could create a keysize of 
> zero to have a certain significance. 
> 
> In the changes made here for `HmacMD5`- and `HmacSHA1`- `KeyGenerator`s, the 
> check is for `keysize <= 0` and this message indicates this is a check 
> characteristic to the `SunJCE` provider.

This pull request has now been integrated.

Changeset: 0bcf1767
Author:    Kevin Driver <kdri...@openjdk.org>
Committer: Bradford Wetmore <wetm...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/0bcf17674e1c8c07ede3aef6449e0631e526ba86
Stats:     76 lines in 3 files changed: 74 ins; 0 del; 2 mod

6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for 
keysize == 0

Reviewed-by: wetmore

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

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

Reply via email to