summaryrefslogtreecommitdiff
path: root/bitmask/unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask/unix.go')
-rw-r--r--bitmask/unix.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/bitmask/unix.go b/bitmask/unix.go
index a976857..321f1c0 100644
--- a/bitmask/unix.go
+++ b/bitmask/unix.go
@@ -16,8 +16,16 @@
package bitmask
-import "os"
+import (
+ "os"
+
+ "github.com/pebbe/zmq4"
+)
const coreEndpoint = "ipc:///var/tmp/bitmask.core.sock"
var ConfigPath = os.Getenv("HOME") + "/.config/leap"
+
+func hasCurve() bool {
+ return zmq4.HasCurve()
+}