[source] openvpn: cacert does not exist

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 27 12:12:31 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/1e3c4f763c5fd3c70ff3b5c511b1774d3ac3d67d

commit 1e3c4f763c5fd3c70ff3b5c511b1774d3ac3d67d
Author: John Crispin <john at phrozen.org>
AuthorDate: Thu Oct 27 19:52:33 2016 +0200

    openvpn: cacert does not exist
    
    cacert is really called ca and already in the script
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/network/services/openvpn/files/openvpn.init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 3833760..4c8f77f 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -107,7 +107,7 @@ start_instance() {
 
 	# append params
 	append_params "$s" \
-		cd askpass auth auth_retry auth_user_pass auth_user_pass_verify bcast_buffers ca cert \
+		cd askpass auth auth_retry auth_user_pass auth_user_pass_verify bcast_buffers ca cert capath \
 		chroot cipher client_config_dir client_connect client_disconnect comp_lzo connect_freq \
 		connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
 		echo engine explicit_exit_notify fragment group hand_window hash_size \
@@ -124,7 +124,7 @@ start_instance() {
 		socks_proxy status status_version syslog tcp_queue_limit tls_auth tls_version_min \
 		tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
 		tun_mtu tun_mtu_extra txqueuelen user verb down push up \
-		capath cafile verify_x509_name x509_username_field \
+		verify_x509_name x509_username_field \
 		ifconfig_ipv6 route_ipv6 server_ipv6 ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6
 
 	openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf"



More information about the lede-commits mailing list