aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-03-11 19:32:22 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-03-11 19:32:22 -0400
commit4c0a81fa955aa3bbd69665874fb1b74ad3df6c4b (patch)
tree8ca52a4aa549331327722c8e44b52897637ae801
parentd1cfc81c9b675fd8fc20d31600de473b8e7ad847 (diff)
parent2d47bb42d5792c08654afe289c7e445d83d3d665 (diff)
downloadcryptography-4c0a81fa955aa3bbd69665874fb1b74ad3df6c4b.tar.gz
cryptography-4c0a81fa955aa3bbd69665874fb1b74ad3df6c4b.tar.bz2
cryptography-4c0a81fa955aa3bbd69665874fb1b74ad3df6c4b.zip
Merge pull request #1747 from reaperhulk/remove-unneeded-registration
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):