RFR: 8296343: CPVE thrown on missing content-length in OCSP response

Matthew Donovan duke at openjdk.org
Tue Jan 10 18:34:56 UTC 2023


On Tue, 10 Jan 2023 16:47:18 GMT, Jamil Nimeh <jnimeh at openjdk.org> wrote:

>> test/jdk/sun/security/provider/certpath/OCSP/OCSPNoContentLength.java line 58:
>> 
>>> 56: 
>>> 57:     // Turn on debugging
>>> 58:     static final boolean debug = true;
>> 
>> Do you really mean to set `debug` to `true`?
>
> The overall output is pretty small even with it on, but I'll switch it off.

You could also use `Boolean.getBoolean("test.debug")` (or some other property name) so it can be set on the command line when the test is run.

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

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



More information about the security-dev mailing list