aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_serialization.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-12-24 16:20:42 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-12-24 16:20:42 -0800
commitbf4817e9d95d66f5adba8ab5b7224e865e312a45 (patch)
treeadd6eddeeb1fe5b68da60c000055f52b2cac1b00 /tests/hazmat/primitives/test_serialization.py
parenteeb8143a716c995dcd9c4cb883ce8b538735b0a1 (diff)
downloadcryptography-bf4817e9d95d66f5adba8ab5b7224e865e312a45.tar.gz
cryptography-bf4817e9d95d66f5adba8ab5b7224e865e312a45.tar.bz2
cryptography-bf4817e9d95d66f5adba8ab5b7224e865e312a45.zip
this test requires a specific curve
Diffstat (limited to 'tests/hazmat/primitives/test_serialization.py')
-rw-r--r--tests/hazmat/primitives/test_serialization.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_serialization.py b/tests/hazmat/primitives/test_serialization.py
index 10afa9d5..acdbbd73 100644
--- a/tests/hazmat/primitives/test_serialization.py
+++ b/tests/hazmat/primitives/test_serialization.py
@@ -789,6 +789,8 @@ class TestDSSSSHSerialization(object):
@pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
class TestECDSASSHSerialization(object):
def test_load_ssh_public_key_ecdsa_nist_p256(self, backend):
+ _skip_curve_unsupported(backend, ec.SECP256R1())
+
ssh_key = (
b"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAy"
b"NTYAAABBBGG2MfkHXp0UkxUyllDzWNBAImsvt5t7pFtTXegZK2WbGxml8zMrgWi5"