diff options
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 21e902f1..2bf66a0c 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -71,10 +71,13 @@ class TestOpenSSL(object): Unfortunately, this define does not appear to have a formal content definition, so for now we'll test to see - if it starts with OpenSSL as that appears to be true - for every OpenSSL. + if it starts with OpenSSL or LibreSSL as that appears + to be true for every OpenSSL-alike. """ - assert backend.openssl_version_text().startswith("OpenSSL") + assert ( + backend.openssl_version_text().startswith("OpenSSL") or + backend.openssl_version_text().startswith("LibreSSL") + ) def test_supports_cipher(self): assert backend.cipher_supported(None, None) is False |