From 611c27d1ec36f29276072d484882376e87e92728 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 28 Jan 2014 10:40:46 -0800 Subject: Fixed #521 -- work on systems with no ec header at all --- cryptography/hazmat/bindings/openssl/ec.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cryptography/hazmat/bindings/openssl/ec.py b/cryptography/hazmat/bindings/openssl/ec.py index 9f10365a..57da7634 100644 --- a/cryptography/hazmat/bindings/openssl/ec.py +++ b/cryptography/hazmat/bindings/openssl/ec.py @@ -12,7 +12,10 @@ # limitations under the License. INCLUDES = """ +#ifdef OPENSSL_NO_EC #include +#endif + #include """ -- cgit v1.2.3