aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 00:42:37 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 00:42:37 +0000
commit5acd2baf6d350515258a325d3c43ac91a4d89748 (patch)
treebf0d903cafe9fd3db582b81ae75594b2511f8209 /syshead.h
parentModified create_temp_filename to create unpredictable (diff)
downloadopenvpn-5acd2baf6d350515258a325d3c43ac91a4d89748.tar.xz
Fixed code inclusion bug that was erroneously testing
defined(P2MP_SERVER) rather than P2MP_SERVER. Fixed compile issues when USE_CRYPTO is undefined. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3075 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'syshead.h')
-rw-r--r--syshead.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/syshead.h b/syshead.h
index 07f1970..da07a71 100644
--- a/syshead.h
+++ b/syshead.h
@@ -483,10 +483,10 @@ socket_defined (const socket_descriptor_t sd)
* Enable deferred authentication?
*/
#define CONFIGURE_DEF_AUTH /* this should be set by autoconf and config.h */
-#if defined(CONFIGURE_DEF_AUTH) && defined(P2MP_SERVER) && defined(ENABLE_PLUGIN)
+#if defined(CONFIGURE_DEF_AUTH) && P2MP_SERVER && defined(ENABLE_PLUGIN)
#define PLUGIN_DEF_AUTH
#endif
-#if defined(CONFIGURE_DEF_AUTH) && defined(P2MP_SERVER) && defined(ENABLE_MANAGEMENT)
+#if defined(CONFIGURE_DEF_AUTH) && P2MP_SERVER && defined(ENABLE_MANAGEMENT)
#define MANAGEMENT_DEF_AUTH
#endif
#if defined(PLUGIN_DEF_AUTH) || defined(MANAGEMENT_DEF_AUTH)
@@ -497,10 +497,10 @@ socket_defined (const socket_descriptor_t sd)
* Enable packet filter?
*/
#define CONFIGURE_PF /* this should be set by autoconf and config.h */
-#if defined(CONFIGURE_PF) && defined(P2MP_SERVER) && defined(ENABLE_PLUGIN) && defined(HAVE_STAT)
+#if defined(CONFIGURE_PF) && P2MP_SERVER && defined(ENABLE_PLUGIN) && defined(HAVE_STAT)
#define PLUGIN_PF
#endif
-#if defined(CONFIGURE_PF) && defined(P2MP_SERVER) && defined(MANAGEMENT_DEF_AUTH)
+#if defined(CONFIGURE_PF) && P2MP_SERVER && defined(MANAGEMENT_DEF_AUTH)
#define MANAGEMENT_PF
#endif
#if defined(PLUGIN_PF) || defined(MANAGEMENT_PF)