RFR: JDK-8278344: sun/security/pkcs12/KeytoolOpensslInteropTest.java test fails because of different openssl output

Thomas Stuefe stuefe at openjdk.java.net
Fri Dec 10 18:22:20 UTC 2021


On Thu, 9 Dec 2021 08:25:17 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Please review this small test fix.
> KeytoolOpensslInteropTest.java fails with the output below.
> Seems on our SUSE Linux 15 (openssl is
> ~> openssl version
> OpenSSL 1.1.0i-fips 14 Aug 2018
> ) we get a slightly different output with a blank missing after "MAC:" :
> 
> :stdErr:
> Mon Dec 06 21:54:48 CET 2021
> stdout: [];
> stderr: [MAC:sha256 Iteration 10000
>  . . .
> java.lang.RuntimeException: 'MAC: sha256, Iteration 10000' missing from stdout/stderr
> 
> So it is necessary to adjust the test to the other openssl version.

All good.

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

Marked as reviewed by stuefe (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6779


More information about the security-dev mailing list