RFR: 8302017: Allocate BadPaddingException only if it will be thrown [v3]

Xue-Lei Andrew Fan xuelei at openjdk.org
Thu Jul 27 20:58:47 UTC 2023


On Thu, 27 Jul 2023 20:35:42 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> I checked back the specification back to RFC 2437, released on October 1998, which requires to encode NULL parameters as well.  As the update to keep the consistency is not trivial, I may just remove it and see if it could be a real problem in practice.
>
> Yes, let's try it and see.

Thank you.  I have no more comments.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14839#discussion_r1276811563


More information about the security-dev mailing list