summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-15 14:41:26 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-15 17:46:15 -0500
commite538acbcc76e337af6b129288396b7cc137fd42b (patch)
tree22af48dd43894a0518beed850c2611b990cf3026
parentc39b5dc791e34512fcc271946c5b887d45020f16 (diff)
downloadcryptography-e538acbcc76e337af6b129288396b7cc137fd42b.tar.gz
Make FreeBSD happy with this constant
-rw-r--r--cryptography/hazmat/bindings/openssl/err.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py
index 627b8a688..4e44a2eb8 100644
--- a/cryptography/hazmat/bindings/openssl/err.py
+++ b/cryptography/hazmat/bindings/openssl/err.py
@@ -334,7 +334,7 @@ static const int EC_F_EC_GROUP_NEW_BY_CURVE_NAME = 0;
static const long Cryptography_HAS_RSA_R_PKCS_DECODING_ERROR = 1;
#else
static const long Cryptography_HAS_RSA_R_PKCS_DECODING_ERROR = 0;
-static const int RSA_R_PKCS_DECODING_ERROR = 0;
+static const long RSA_R_PKCS_DECODING_ERROR = 0;
#endif
"""