diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-08-05 20:34:43 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-08-05 20:34:43 +0000 |
commit | 0eb2ee14350308042eae163af35e795d6a67f8d3 (patch) | |
tree | 1fd4fa815d3fcbdb961d2360a9216771c22c7ce7 /cryptoapi.c | |
parent | Workaround for MinGW autoconf issue where HAVE_SETSOCKOPT, (diff) | |
download | openvpn-0eb2ee14350308042eae163af35e795d6a67f8d3.tar.xz |
Reverted r3181, accomplish the same thing via a special case
for Windows stdcall functions in configure.ac (Alon Bar-Lev).
Minor fix to cryptoapi.c to not compile itself unless USE_CRYPTO
and USE_SSL flags are enabled (Alon Bar-Lev).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3183 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'cryptoapi.c')
-rw-r--r-- | cryptoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptoapi.c b/cryptoapi.c index 3b78e2b..9406c7a 100644 --- a/cryptoapi.c +++ b/cryptoapi.c @@ -30,7 +30,7 @@ #include "syshead.h" -#ifdef WIN32 +#if defined(WIN32) && defined(USE_CRYPTO) && defined(USE_SSL) #include <openssl/ssl.h> #include <openssl/err.h> |