diff options
author | Dan Williams <dcbw@redhat.com> | 2009-08-28 10:50:52 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-08-28 10:50:52 -0500 |
commit | d092ca6c02aeb231d33b1704a6d39caaa8f0d4c4 (patch) | |
tree | 35fe99c2fb3e420df4ddb718d636861cf75495cf | |
parent | 83192aa6bd94423d3e6b35f66867868a4ed3e071 (diff) | |
download | NetworkManager-NETWORKMANAGER_0_6_0_RELEASE.tar.gz |
openvpn: don't use --ns-cert-type option (bgo #564250)NETWORKMANAGER_0_6_0_RELEASE
Wasn't really the right thing to do in the first place, and we've
killed it from NM 0.7.x+ as well. Nobody sets that option in the
server cert anymore.
-rw-r--r-- | vpn-daemons/openvpn/src/nm-openvpn-service.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vpn-daemons/openvpn/src/nm-openvpn-service.c b/vpn-daemons/openvpn/src/nm-openvpn-service.c index aee05cc389..964687faa7 100644 --- a/vpn-daemons/openvpn/src/nm-openvpn-service.c +++ b/vpn-daemons/openvpn/src/nm-openvpn-service.c @@ -788,8 +788,6 @@ nm_openvpn_start_openvpn_binary (NmOpenVPNData *data, // Client mode g_ptr_array_add (openvpn_argv, (gpointer) "--client"); - g_ptr_array_add (openvpn_argv, (gpointer) "--ns-cert-type"); - g_ptr_array_add (openvpn_argv, (gpointer) "server"); // Use user/path authentication g_ptr_array_add (openvpn_argv, (gpointer) "--auth-user-pass"); @@ -805,8 +803,6 @@ nm_openvpn_start_openvpn_binary (NmOpenVPNData *data, case NM_OPENVPN_CONTYPE_X509USERPASS: g_ptr_array_add (openvpn_argv, (gpointer) "--client"); - g_ptr_array_add (openvpn_argv, (gpointer) "--ns-cert-type"); - g_ptr_array_add (openvpn_argv, (gpointer) "server"); for (i = 0; i < num_items; ++i) { if ( strcmp( data_items[i], "ca" ) == 0) { |