aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-09 10:17:14 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-09 10:21:43 -0600
commitac1bd5d4f2c77806affd88be8f1dd5d87a6028f6 (patch)
treee48f3408d333b82e06b64ddf24cc428b9f71fea1
parent494b574558a9f5b56ade082bac7bd32fa7d040c5 (diff)
downloadcryptography-ac1bd5d4f2c77806affd88be8f1dd5d87a6028f6.tar.gz
cryptography-ac1bd5d4f2c77806affd88be8f1dd5d87a6028f6.tar.bz2
cryptography-ac1bd5d4f2c77806affd88be8f1dd5d87a6028f6.zip
add new error constants
-rw-r--r--cryptography/hazmat/bindings/openssl/err.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py
index 3dac6948..f31c2405 100644
--- a/cryptography/hazmat/bindings/openssl/err.py
+++ b/cryptography/hazmat/bindings/openssl/err.py
@@ -23,11 +23,18 @@ struct ERR_string_data_st {
typedef struct ERR_string_data_st ERR_STRING_DATA;
static const int ERR_LIB_EVP;
+static const int ERR_LIB_PEM;
static const int EVP_F_EVP_ENCRYPTFINAL_EX;
static const int EVP_F_EVP_DECRYPTFINAL_EX;
static const int EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH;
+
+static const int PEM_F_PEM_READ_BIO_PRIVATEKEY;
+static const int PEM_F_D2I_PKCS8PRIVATEKEY_BIO;
+
+static const int PEM_R_BAD_PASSWORD_READ;
+static const int ASN1_R_BAD_PASSWORD_READ;
"""
FUNCTIONS = """