openconnect: cmdline parameter for CA not moved 790/head
authorJasper <jaspersalathe@gmail.com>
Fri, 16 Jan 2015 16:21:44 +0000 (17:21 +0100)
committerJasper <jaspersalathe@gmail.com>
Fri, 16 Jan 2015 16:21:44 +0000 (17:21 +0100)
The location for the server CA file was moved in b53e5bfe875d673fc8a57a4766d7af6fc1b3e074, but the corresponding command line option for opeconnect not updated.

net/openconnect/files/openconnect.sh

index 2d3f7141cade06ecb28f0539225f243bd00bab83..10c43dbd447071bf5c3f6da220dad714908f5760 100755 (executable)
@@ -47,7 +47,7 @@ proto_openconnect_setup() {
        [ -f /etc/config/openconnect-user-cert-vpn-$config.pem ] && append cmdline "-c /etc/config/openconnect-user-cert-vpn-$config.pem"
        [ -f /etc/config/openconnect-user-key-vpn-$config.pem ] && append cmdline "--sslkey /etc/config/openconnect-user-key-vpn-$config.pem"
        [ -f /etc/config/openconnect-ca-vpn-$config.pem ] && {
-               append cmdline "--cafile /etc/openconnect/ca-vpn-$config.pem"
+               append cmdline "--cafile /etc/config/openconnect-ca-vpn-$config.pem"
                append cmdline "--no-system-trust"
        }