diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-30 13:51:16 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-21 14:51:45 +0200 |
commit | 06d22777e9172efe3b3dc15c1bc2c6ef5d292cfa (patch) | |
tree | 84a5685bb717b30e73743b9d81a670f78d0ac878 /options.c | |
parent | fe100528c780548c21d664d1c14b37cbfd4c3e0f (diff) | |
download | openvpn-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 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6313,9 +6313,9 @@ add_option (struct options *options, { VERIFY_PERMISSION (OPT_P_GENERAL); if (streq (p[1], "server")) - options->ns_cert_type = NS_SSL_SERVER; + options->ns_cert_type = NS_CERT_CHECK_SERVER; else if (streq (p[1], "client")) - options->ns_cert_type = NS_SSL_CLIENT; + options->ns_cert_type = NS_CERT_CHECK_CLIENT; else { msg (msglevel, "--ns-cert-type must be 'client' or 'server'"); |