aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-07 18:36:33 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-07 18:36:33 -0400
commitfd4430665b72c2500e5bf73d3974d559c9756de9 (patch)
tree12fa812cfd884ee04cadbd85b907b5e70849d1be
parente9a958515265d2872c4050895f0fe02478de09f1 (diff)
downloadcryptography-fd4430665b72c2500e5bf73d3974d559c9756de9.tar.gz
cryptography-fd4430665b72c2500e5bf73d3974d559c9756de9.tar.bz2
cryptography-fd4430665b72c2500e5bf73d3974d559c9756de9.zip
don't need to move these definitions
-rw-r--r--cryptography/hazmat/bindings/openssl/nid.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/cryptography/hazmat/bindings/openssl/nid.py b/cryptography/hazmat/bindings/openssl/nid.py
index ab781212..cb83c1ba 100644
--- a/cryptography/hazmat/bindings/openssl/nid.py
+++ b/cryptography/hazmat/bindings/openssl/nid.py
@@ -33,6 +33,10 @@ static const int NID_sha512;
static const int NID_sha224;
static const int NID_sha;
static const int NID_ecdsa_with_SHA1;
+static const int NID_ecdsa_with_SHA224;
+static const int NID_ecdsa_with_SHA256;
+static const int NID_ecdsa_with_SHA384;
+static const int NID_ecdsa_with_SHA512;
static const int NID_crl_reason;
static const int NID_pbe_WithSHA1And3_Key_TripleDES_CBC;
static const int NID_subject_alt_name;
@@ -184,12 +188,6 @@ FUNCTIONS = """
"""
MACROS = """
-/* These were added in OpenSSL 0.9.8g. When we drop support for RHEL/CentOS 5
- we should be able to move these back to TYPES. */
-static const int NID_ecdsa_with_SHA224;
-static const int NID_ecdsa_with_SHA256;
-static const int NID_ecdsa_with_SHA384;
-static const int NID_ecdsa_with_SHA512;
"""
CUSTOMIZATIONS = """