From 13db4b90a5f1e6c1a75227ac6fd4538b5c8cff8b Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 29 Oct 2019 07:07:17 +0100 Subject: [PATCH] openssl_csr: fix tests (#63994) * Make sure tests are validated with correct backend in mind. * Fix tests. (cherry picked from commit 35a412fab7954077d7f7a72aef7625318c379dcc) --- test/integration/targets/openssl_csr/tasks/main.yml | 2 +- test/integration/targets/openssl_csr/tests/validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/openssl_csr/tasks/main.yml b/test/integration/targets/openssl_csr/tasks/main.yml index d0d5d908788..e3cc0efb9a4 100644 --- a/test/integration/targets/openssl_csr/tasks/main.yml +++ b/test/integration/targets/openssl_csr/tasks/main.yml @@ -39,6 +39,6 @@ - import_tasks: ../tests/validate.yml vars: - select_crypto_backend: pyopenssl + select_crypto_backend: cryptography when: cryptography_version.stdout is version('1.3', '>=') diff --git a/test/integration/targets/openssl_csr/tests/validate.yml b/test/integration/targets/openssl_csr/tests/validate.yml index e7c727cfef9..28458ba8984 100644 --- a/test/integration/targets/openssl_csr/tests/validate.yml +++ b/test/integration/targets/openssl_csr/tests/validate.yml @@ -133,7 +133,7 @@ - subject_key_identifier_3 is changed - subject_key_identifier_4 is changed - subject_key_identifier_5 is not changed - - subject_key_identifier_6 is not changed + - subject_key_identifier_6 is changed when: select_crypto_backend != 'pyopenssl' - name: Verify that authority key identifier handling works