aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-06-24 22:00:26 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-06-24 22:00:26 -0500
commit8cdcdfc1bd11ee57b7f53c631af2f88e0861d168 (patch)
tree73d3d549bb09cbe69ca275938217c1bab4ea2254 /tests/hazmat/backends
parent13cdc7bf087dc017ca5cfdfc3c0afdfd99b7979b (diff)
downloadcryptography-8cdcdfc1bd11ee57b7f53c631af2f88e0861d168.tar.gz
cryptography-8cdcdfc1bd11ee57b7f53c631af2f88e0861d168.tar.bz2
cryptography-8cdcdfc1bd11ee57b7f53c631af2f88e0861d168.zip
Use SECP256R1 instead of SECT283K1 in CSR tests
Diffstat (limited to 'tests/hazmat/backends')
-rw-r--r--tests/hazmat/backends/test_openssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 6c741c89..34fff277 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -471,8 +471,8 @@ class TestOpenSSLCreateX509CSR(object):
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)
+ _skip_curve_unsupported(backend, ec.SECP256R1())
+ private_key = ec.generate_private_key(ec.SECP256R1(), backend)
with pytest.raises(NotImplementedError):
backend.create_x509_csr(object(), private_key, hashes.SHA1())