summaryrefslogtreecommitdiff
path: root/pkg/standalone/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/standalone/main.go')
-rw-r--r--pkg/standalone/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/standalone/main.go b/pkg/standalone/main.go
index f7e1976..d5618e5 100644
--- a/pkg/standalone/main.go
+++ b/pkg/standalone/main.go
@@ -20,6 +20,7 @@ import (
"log"
"os"
+ "0xacab.org/leap/bitmask-systray/pkg/config"
"github.com/apparentlymart/go-openvpn-mgmt/openvpn"
)
@@ -50,7 +51,7 @@ func Init() (*Bitmask, error) {
if err != nil {
return nil, err
}
- err = ioutil.WriteFile(b.getCaCertPath(), caCert, 0600)
+ err = ioutil.WriteFile(b.getCaCertPath(), config.CaCert, 0600)
go b.openvpnManagement()
return &b, err