Browse code

svn merge -r 823:825 $SO/contrib/alon/BETA21/openvpn .

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@827 e7ae566f-a301-0410-adde-c780ea21d3b5

james authored on 2005/11/28 14:09:54
Showing 1 changed files
... ...
@@ -1670,7 +1670,8 @@ do_option_warnings (struct context *c)
1670 1670
   if (o->tls_client
1671 1671
       && !o->tls_verify
1672 1672
       && !o->tls_remote
1673
-      && !(o->ns_cert_type & NS_SSL_SERVER))
1673
+      && !(o->ns_cert_type & NS_SSL_SERVER)
1674
+      && !o->remote_cert_eku[0])
1674 1675
     msg (M_WARN, "WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.");
1675 1676
 #endif
1676 1677
 #endif