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

Matthias Baesken mbaesken at openjdk.java.net
Mon Dec 13 07:51:14 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.

This pull request has now been integrated.

Changeset: 8b5ff4bd
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8b5ff4bdffc8f32317d67b00c085071d6c772b30
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

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

Reviewed-by: mdoerr, goetz, stuefe

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

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



More information about the security-dev mailing list