RFR: 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded

Sean Mullan mullan at openjdk.org
Mon Mar 6 16:04:16 UTC 2023


On Fri, 3 Feb 2023 17:35:45 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Change blocklist to allowlist for encoding null parameters in `AlgorithmId`.

test/jdk/sun/security/x509/AlgorithmId/NullParams.java line 108:

> 106:         } else {
> 107:             if (data.available() != 0) {
> 108:                 System.out.println("Has expected NULL");

Should the message be "Has unexpected NULL"?

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

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



More information about the security-dev mailing list