aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-09-28 11:07:58 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-09-28 11:07:58 -0500
commitb42eb9dc9214c368336c682ecc7d79a78fcfb491 (patch)
tree59a56fbb94e457f477583a4a76d6d2347b7965c5 /tests/hazmat/backends/test_openssl.py
parent77de1fcb9d6beeb27107eb5830c8132092a9b041 (diff)
parent2d2ee522a2bc038b996573d6c0fb6b95a0560041 (diff)
downloadcryptography-b42eb9dc9214c368336c682ecc7d79a78fcfb491.tar.gz
cryptography-b42eb9dc9214c368336c682ecc7d79a78fcfb491.tar.bz2
cryptography-b42eb9dc9214c368336c682ecc7d79a78fcfb491.zip
Merge pull request #1364 from public/remove-curve
Remove the curve parameter from OpenSSL EC keys
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r--tests/hazmat/backends/test_openssl.py3
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):