diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-04-23 20:58:37 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-04-25 21:30:57 +0100 |
commit | 458c09bdb2be4d39b8897db790349cc89faf3e6c (patch) | |
tree | fbd057d6ff05747cceb2138b4625bcff49e48fd6 /cryptography | |
parent | 28091767ff7fdf80cb1d3ae45915949dfe9793b5 (diff) | |
download | cryptography-458c09bdb2be4d39b8897db790349cc89faf3e6c.tar.gz cryptography-458c09bdb2be4d39b8897db790349cc89faf3e6c.tar.bz2 cryptography-458c09bdb2be4d39b8897db790349cc89faf3e6c.zip |
Rename OpenSSLSerializationBackend
Diffstat (limited to 'cryptography')
-rw-r--r-- | cryptography/hazmat/backends/interfaces.py | 4 | ||||
-rw-r--r-- | cryptography/hazmat/bindings/openssl/err.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py index 677f4c67..1ddf0785 100644 --- a/cryptography/hazmat/backends/interfaces.py +++ b/cryptography/hazmat/backends/interfaces.py @@ -141,9 +141,9 @@ class DSABackend(object): @six.add_metaclass(abc.ABCMeta) -class OpenSSLSerializationBackend(object): +class TraditionalOpenSSLSerializationBackend(object): @abc.abstractmethod - def load_openssl_pem_private_key(self, data, password): + def load_traditional_openssl_pem_private_key(self, data, password): """ Load a private key from PEM encoded data, using password if the data is encrypted. diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py index c08c880c..f6456d66 100644 --- a/cryptography/hazmat/bindings/openssl/err.py +++ b/cryptography/hazmat/bindings/openssl/err.py @@ -138,6 +138,7 @@ static const int EVP_F_RC5_CTRL; static const int EVP_R_AES_KEY_SETUP_FAILED; static const int EVP_R_ASN1_LIB; static const int EVP_R_BAD_BLOCK_LENGTH; +static const int EVP_R_BAD_DECRYPT; static const int EVP_R_BAD_KEY_LENGTH; static const int EVP_R_BN_DECODE_ERROR; static const int EVP_R_BN_PUBKEY_ERROR; |