From e1e60892a812b9ce353690b2d733549c2ee19d5e Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 21 Jul 2024 13:02:04 +0200 Subject: [PATCH] Fix PKCS#12 tests. (#787) --- 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 dc1b89c5..313fff0c 100644 --- a/tests/integration/targets/openssl_pkcs12/tests/validate.yml +++ b/tests/integration/targets/openssl_pkcs12/tests/validate.yml @@ -20,7 +20,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-----'