aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-16 18:17:32 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-16 18:17:32 +0000
commit6117b639d32095fa761f4773c9eec27e9f70f6f4 (patch)
treef2d0e64fff6bc42d2a7ed654ad38c14aeb01f55a /init.c
parentAdded --port-share option for allowing OpenVPN and HTTPS (diff)
downloadopenvpn-6117b639d32095fa761f4773c9eec27e9f70f6f4.tar.xz
svn merge -r 888:889 https://svn.openvpn.net/projects/openvpn/contrib/alon/BETA21 21
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@894 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index c5b3a84..ab6a6c5 100644
--- a/init.c
+++ b/init.c
@@ -1769,7 +1769,7 @@ do_option_warnings (struct context *c)
&& !o->tls_verify
&& !o->tls_remote
&& !(o->ns_cert_type & NS_SSL_SERVER)
- && (o->remote_cert_eku == NULL || !o->remote_cert_eku[0]))
+ && !o->remote_cert_eku)
msg (M_WARN, "WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.");
#endif
#endif