aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-06-24 20:09:43 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-06-24 20:09:43 -0500
commit22e69b58a95d69cc0001d16f888411cf52db96e1 (patch)
tree72498d4f442e742be9e2a70c4940be45fe7e4519 /tests/test_x509.py
parent87d61f8a6efdf1f9b0a0d6e8c59e323e6004ec72 (diff)
downloadcryptography-22e69b58a95d69cc0001d16f888411cf52db96e1.tar.gz
cryptography-22e69b58a95d69cc0001d16f888411cf52db96e1.tar.bz2
cryptography-22e69b58a95d69cc0001d16f888411cf52db96e1.zip
Skip tests when the EC curve is unsupported
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r--tests/test_x509.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 5d6f174c..fb7f17d4 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -768,6 +768,7 @@ class TestCertificateSigningRequestBuilder(object):
if backend._lib.OPENSSL_VERSION_NUMBER < 0x10001000:
pytest.skip("Requires a newer OpenSSL. Must be >= 1.0.1")
+ _skip_curve_unsupported(backend, ec.SECT283K1())
private_key = ec.generate_private_key(ec.SECT283K1(), backend)
request = x509.CertificateSigningRequestBuilder().subject_name(