Disable certificate version 2 test for pyOpenSSL 24.0.0+.

This commit is contained in:
Felix Fontein
2024-01-26 14:08:24 +01:00
parent 8a8faa83e4
commit 940a1aabd9
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
assert: assert:
that: that:
- ownca_cert_v2_version.stdout == '2' - ownca_cert_v2_version.stdout == '2'
when: "select_crypto_backend != 'cryptography'" when: select_crypto_backend != 'cryptography' and pyopenssl_version.stdout is version('24.0.0', '<')
- name: (OwnCA validation, {{select_crypto_backend}}) Validate ownca certificate v2 (test - ownca certificate version == 2) - name: (OwnCA validation, {{select_crypto_backend}}) Validate ownca certificate v2 (test - ownca certificate version == 2)
assert: assert:

View File

@@ -94,7 +94,7 @@
assert: assert:
that: that:
- cert_v2_version.stdout == '2' - cert_v2_version.stdout == '2'
when: select_crypto_backend != 'cryptography' when: select_crypto_backend != 'cryptography' and pyopenssl_version.stdout is version('24.0.0', '<')
- block: - block:
- name: (Selfsigned validateion, {{ select_crypto_backend }} Validate certificate v2 is failed - name: (Selfsigned validateion, {{ select_crypto_backend }} Validate certificate v2 is failed