RFR: 8358159: Empty mode/padding in cipher transformations [v3]
Amit Kumar
amitkumar at openjdk.org
Wed Jun 4 12:37:30 UTC 2025
On Wed, 4 Jun 2025 10:37:28 GMT, Varada M <varadam at openjdk.org> wrote:
>> Omitting the mode/padding in a transformation string eg: "AES/ /NoPadding" throws NoSuchAlgorithmException.
>> This patch restores the behavior by ensuring that empty mode or padding strings are interpreted as null.
>>
>> Testing done for : tier1 - fastdebug level (AIX)
>>
>> JBS: [JDK-8358159](https://bugs.openjdk.org/browse/JDK-8358159)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
>
> whitespace error fix
LGTM
-------------
Marked as reviewed by amitkumar (Committer).
PR Review: https://git.openjdk.org/jdk/pull/25547#pullrequestreview-2896543679
More information about the security-dev
mailing list