diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-09-28 15:38:06 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-09-28 15:38:06 +0100 |
commit | 2d2ee522a2bc038b996573d6c0fb6b95a0560041 (patch) | |
tree | 1f2df442de25e54df1c0b772591d9562feeddbbf /tests/hazmat | |
parent | 9c2227b97ff7b3aabe0f0a957a92c7628c447da1 (diff) | |
download | cryptography-2d2ee522a2bc038b996573d6c0fb6b95a0560041.tar.gz cryptography-2d2ee522a2bc038b996573d6c0fb6b95a0560041.tar.bz2 cryptography-2d2ee522a2bc038b996573d6c0fb6b95a0560041.zip |
Move _ec_key_curve_sn to openssl/ec.py
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index bfe6040e..b00543fe 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -27,6 +27,7 @@ from cryptography.exceptions import InternalError, _Reasons from cryptography.hazmat.backends.openssl.backend import ( Backend, backend ) +from cryptography.hazmat.backends.openssl.ec import _sn_to_elliptic_curve from cryptography.hazmat.primitives import hashes, interfaces from cryptography.hazmat.primitives.asymmetric import dsa, ec, padding, rsa from cryptography.hazmat.primitives.ciphers import Cipher @@ -509,7 +510,7 @@ class TestOpenSSLEllipticCurve(object): def test_sn_to_elliptic_curve_not_supported(self): with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_ELLIPTIC_CURVE): - backend._sn_to_elliptic_curve(b"fake") + _sn_to_elliptic_curve(backend, b"fake") class TestDeprecatedRSABackendMethods(object): |