From 8b8d51b752729f7237bb51274ccf158cbb4cfce0 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 22 Sep 2016 10:22:54 -0500 Subject: 1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set (#3162) * 1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set * add a comment explaining why we changed this * 1.0.2i handles NUMERICSTRING properly now so need only test < 1.0.2i * needs to be visible --- tests/hazmat/backends/test_openssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hazmat/backends') diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index bf794c3a..db3c19b8 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -729,7 +729,7 @@ class TestGOSTCertificate(object): backend ) if ( - not backend._lib.CRYPTOGRAPHY_OPENSSL_110_OR_GREATER or + backend._lib.CRYPTOGRAPHY_OPENSSL_LESS_THAN_102I or backend._lib.CRYPTOGRAPHY_IS_LIBRESSL ): with pytest.raises(ValueError) as exc: -- cgit v1.2.3