aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-10 10:26:44 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-03-10 10:26:44 -0700
commitd9c879f2841e16e07c1aa73361c02b3c93af85e7 (patch)
tree27664ce0cea0941c280874490ebebeadfb5a1bad
parentb116bfd9099eea4bd46181dd846e465d01b7159c (diff)
parentcf4f727804e503d1d3ec8d895bf1f21a3f106bfc (diff)
downloadcryptography-d9c879f2841e16e07c1aa73361c02b3c93af85e7.tar.gz
cryptography-d9c879f2841e16e07c1aa73361c02b3c93af85e7.tar.bz2
cryptography-d9c879f2841e16e07c1aa73361c02b3c93af85e7.zip
Merge pull request #771 from reaperhulk/rsa-err-symbols
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 = """