From a3a190b7bdc3cc8740fd7f1e6ac9d78ff2c0f528 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 31 Jan 2013 17:33:23 +0100 Subject: openssl: Properly honor OPENSSL_NO_* defines --- src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c') diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c index 4dc5663f1..ff3382473 100644 --- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c +++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c @@ -14,6 +14,10 @@ * for more details. */ +#include + +#ifndef OPENSSL_NO_DH + #include #include "openssl_diffie_hellman.h" @@ -193,3 +197,5 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create( return &this->public; } + +#endif /* OPENSSL_NO_DH */ -- cgit v1.2.3