summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-30 13:51:16 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-21 14:51:45 +0200
commit06d22777e9172efe3b3dc15c1bc2c6ef5d292cfa (patch)
tree84a5685bb717b30e73743b9d81a670f78d0ac878 /init.c
parentfe100528c780548c21d664d1c14b37cbfd4c3e0f (diff)
downloadopenvpn-06d22777e9172efe3b3dc15c1bc2c6ef5d292cfa.tar.gz
openvpn-06d22777e9172efe3b3dc15c1bc2c6ef5d292cfa.tar.xz
openvpn-06d22777e9172efe3b3dc15c1bc2c6ef5d292cfa.zip
Refactored: Netscape certificate type verification
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
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 b809b96..6fc1a6b 100644
--- a/init.c
+++ b/init.c
@@ -2471,7 +2471,7 @@ do_option_warnings (struct context *c)
if (o->tls_client
&& !o->tls_verify
&& !o->tls_remote
- && !(o->ns_cert_type & NS_SSL_SERVER)
+ && !(o->ns_cert_type & NS_CERT_CHECK_SERVER)
&& !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.");
if (o->tls_remote)