Skip tests when the EC curve is unsupported
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 4275b59..6c741c8 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -30,6 +30,7 @@
 
 from ..primitives.fixtures_dsa import DSA_KEY_2048
 from ..primitives.fixtures_rsa import RSA_KEY_2048, RSA_KEY_512
+from ..primitives.test_ec import _skip_curve_unsupported
 from ...utils import load_vectors_from_file, raises_unsupported_algorithm
 
 
@@ -470,6 +471,7 @@
         reason="Requires an older OpenSSL. Must be < 1.0.1"
     )
     def test_unsupported_ec_keys(self):
+        _skip_curve_unsupported(backend, ec.SECT283K1())
         private_key = ec.generate_private_key(ec.SECT283K1(), backend)
 
         with pytest.raises(NotImplementedError):
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 5d6f174..fb7f17d 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -768,6 +768,7 @@
         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(