From fd4430665b72c2500e5bf73d3974d559c9756de9 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 7 Mar 2014 18:36:33 -0400 Subject: don't need to move these definitions --- cryptography/hazmat/bindings/openssl/nid.py | 10 ++++------ 1 file 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 = """ -- cgit v1.2.3