diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-28 10:40:46 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-28 10:40:46 -0800 |
commit | 611c27d1ec36f29276072d484882376e87e92728 (patch) | |
tree | b7b8f1efeb4e87d50cfce41776e73b2a647c4efb | |
parent | 1f8cd620cfbb854b0dfcdbf89c140160a8caba13 (diff) | |
download | cryptography-611c27d1ec36f29276072d484882376e87e92728.tar.gz cryptography-611c27d1ec36f29276072d484882376e87e92728.tar.bz2 cryptography-611c27d1ec36f29276072d484882376e87e92728.zip |
Fixed #521 -- work on systems with no ec header at all
-rw-r--r-- | cryptography/hazmat/bindings/openssl/ec.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 <openssl/ec.h> +#endif + #include <openssl/obj_mac.h> """ |