]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Added a check for Openssl or PolarSSL defines
authorAdriaan de Jong <dejong@fox-it.com>
Thu, 23 Jun 2011 16:02:45 +0000 (18:02 +0200)
committerDavid Sommerseth <davids@redhat.com>
Wed, 19 Oct 2011 20:20:39 +0000 (22:20 +0200)
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
options.h

index 902fef4b08606402ebcd07b88c619d0d78d286b5..c49cb521eaa34fd207a09b518c1ce3eb20321f62 100644 (file)
--- a/options.h
+++ b/options.h
@@ -76,6 +76,9 @@ struct options_pre_pull
   int foreign_option_index;
 };
 
+#endif
+#if !defined(USE_OPENSSL) && !defined(USE_POLARSSL)
+# error "At least one of OpenSSL or PolarSSL needs to be defined."
 #endif
 
 struct connection_entry