aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/ecdh.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cffi_src/openssl/ecdh.py')
-rw-r--r--src/_cffi_src/openssl/ecdh.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/_cffi_src/openssl/ecdh.py b/src/_cffi_src/openssl/ecdh.py
index 2dd5fd72..5ed426aa 100644
--- a/src/_cffi_src/openssl/ecdh.py
+++ b/src/_cffi_src/openssl/ecdh.py
@@ -5,9 +5,7 @@
from __future__ import absolute_import, division, print_function
INCLUDES = """
-#ifndef OPENSSL_NO_ECDH
#include <openssl/ecdh.h>
-#endif
"""
TYPES = """
@@ -25,16 +23,7 @@ int SSL_CTX_set_ecdh_auto(SSL_CTX *, int);
"""
CUSTOMIZATIONS = """
-#ifdef OPENSSL_NO_ECDH
-static const long Cryptography_HAS_ECDH = 0;
-
-int (*ECDH_compute_key)(void *, size_t, const EC_POINT *, EC_KEY *,
- void *(*)(const void *, size_t, void *,
- size_t *)) = NULL;
-
-#else
static const long Cryptography_HAS_ECDH = 1;
-#endif
#ifndef SSL_CTX_set_ecdh_auto
static const long Cryptography_HAS_SET_ECDH_AUTO = 0;