aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/bindings/openssl/ecdh.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ecdh.py b/cryptography/hazmat/bindings/openssl/ecdh.py
index 6793ea4b..ca448f9f 100644
--- a/cryptography/hazmat/bindings/openssl/ecdh.py
+++ b/cryptography/hazmat/bindings/openssl/ecdh.py
@@ -14,6 +14,9 @@
from __future__ import absolute_import, division, print_function
INCLUDES = """
+#ifdef OPENSSL_NO_ECDH
+#include <openssl/ecdh.h>
+#endif
"""
TYPES = """