aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-11 14:34:02 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-11 14:34:02 -0500
commit2d47bb42d5792c08654afe289c7e445d83d3d665 (patch)
tree8ca52a4aa549331327722c8e44b52897637ae801
parentd1cfc81c9b675fd8fc20d31600de473b8e7ad847 (diff)
downloadcryptography-2d47bb42d5792c08654afe289c7e445d83d3d665.tar.gz
cryptography-2d47bb42d5792c08654afe289c7e445d83d3d665.tar.bz2
cryptography-2d47bb42d5792c08654afe289c7e445d83d3d665.zip
remove unneeded deprecated interface registration
-rw-r--r--src/cryptography/hazmat/backends/openssl/rsa.py4
1 files changed, 1 insertions, 3 deletions
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):