aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-10 12:53:47 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-10 12:53:47 -0400
commitcf4f727804e503d1d3ec8d895bf1f21a3f106bfc (patch)
treecf54f5aab5a85d47b43fbd0be7304d4e07af5698
parent7ba305bd33f6ae8bb4927549006106783d0dce3e (diff)
downloadcryptography-cf4f727804e503d1d3ec8d895bf1f21a3f106bfc.tar.gz
cryptography-cf4f727804e503d1d3ec8d895bf1f21a3f106bfc.tar.bz2
cryptography-cf4f727804e503d1d3ec8d895bf1f21a3f106bfc.zip
add two RSA items we need for PSS
-rw-r--r--cryptography/hazmat/bindings/openssl/err.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py
index 806d0ea0..1c8bdd15 100644
--- a/cryptography/hazmat/bindings/openssl/err.py
+++ b/cryptography/hazmat/bindings/openssl/err.py
@@ -31,6 +31,7 @@ typedef struct ERR_string_data_st ERR_STRING_DATA;
static const int ERR_LIB_EVP;
static const int ERR_LIB_PEM;
static const int ERR_LIB_ASN1;
+static const int ERR_LIB_RSA;
static const int ASN1_F_ASN1_ENUMERATED_TO_BN;
static const int ASN1_F_ASN1_EX_C2I;
@@ -213,6 +214,8 @@ static const int PEM_R_READ_KEY;
static const int PEM_R_SHORT_HEADER;
static const int PEM_R_UNSUPPORTED_CIPHER;
static const int PEM_R_UNSUPPORTED_ENCRYPTION;
+
+static const int RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE;
"""
FUNCTIONS = """