From 6cd06848b5e9a97163c7d13eac76d60d4ec51aee Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:06:44 +0200 Subject: [PATCH] Fix PKCS#12 tests. (#787) (#788) (cherry picked from commit e1e60892a812b9ce353690b2d733549c2ee19d5e) Co-authored-by: Felix Fontein --- tests/integration/targets/openssl_pkcs12/tests/validate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/targets/openssl_pkcs12/tests/validate.yml b/tests/integration/targets/openssl_pkcs12/tests/validate.yml index b9e7472e..e94ad3a0 100644 --- a/tests/integration/targets/openssl_pkcs12/tests/validate.yml +++ b/tests/integration/targets/openssl_pkcs12/tests/validate.yml @@ -16,7 +16,8 @@ that: - p12_standard_check is changed - p12_standard is changed - - p12.stdout_lines[2].split(':')[-1].strip() == 'abracadabra' + - p12.stdout_lines[2].split(':')[-1].strip() == 'abracadabra' or + p12.stdout_lines[1].split(':')[-1].strip() == 'abracadabra' - p12_standard.mode == '0400' - p12_no_pkey is changed - p12_validate_no_pkey.stdout_lines[-1] == '-----END CERTIFICATE-----'