From 2d47bb42d5792c08654afe289c7e445d83d3d665 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 11 Mar 2015 14:34:02 -0500 Subject: remove unneeded deprecated interface registration --- src/cryptography/hazmat/backends/openssl/rsa.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/cryptography/hazmat/backends/openssl/rsa.py b/src/cryptography/hazmat/backends/openssl/rsa.py index 30f79912..1dbbb844 100644 --- a/src/cryptography/hazmat/backends/openssl/rsa.py +++ b/src/cryptography/hazmat/backends/openssl/rsa.py @@ -18,8 +18,7 @@ from cryptography.hazmat.primitives.asymmetric.padding import ( AsymmetricPadding, MGF1, OAEP, PKCS1v15, PSS ) from cryptography.hazmat.primitives.asymmetric.rsa import ( - RSAPrivateKeyWithNumbers, RSAPrivateKeyWithSerialization, - RSAPublicKeyWithSerialization + RSAPrivateKeyWithSerialization, RSAPublicKeyWithSerialization ) @@ -507,7 +506,6 @@ class _RSAVerificationContext(object): raise InvalidSignature -@utils.register_interface(RSAPrivateKeyWithNumbers) @utils.register_interface(RSAPrivateKeyWithSerialization) class _RSAPrivateKey(object): def __init__(self, backend, rsa_cdata): -- cgit v1.2.3