diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-02-14 19:20:28 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-02-16 11:14:23 -0600 |
commit | 64ddb7a87d2eb5d1230b928b12dc7dca0c6c637d (patch) | |
tree | bceb2bc96d4fdd5e2bf6f338a8bf86faa2eca14b /tests/hazmat/backends/test_openssl.py | |
parent | 99c1b803aeb2260d8dbc131aca608276a714285c (diff) | |
download | cryptography-64ddb7a87d2eb5d1230b928b12dc7dca0c6c637d.tar.gz cryptography-64ddb7a87d2eb5d1230b928b12dc7dca0c6c637d.tar.bz2 cryptography-64ddb7a87d2eb5d1230b928b12dc7dca0c6c637d.zip |
move asymmetric padding interface to primitives.asymmetric.padding
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 6e3d80e9..21e902f1 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -19,7 +19,7 @@ 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 import hashes from cryptography.hazmat.primitives.asymmetric import dsa, padding from cryptography.hazmat.primitives.ciphers import ( BlockCipherAlgorithm, Cipher, CipherAlgorithm @@ -45,7 +45,7 @@ class DummyCipher(object): key_size = None -@utils.register_interface(interfaces.AsymmetricPadding) +@utils.register_interface(padding.AsymmetricPadding) class DummyPadding(object): name = "dummy-cipher" |