summaryrefslogtreecommitdiff
path: root/bitmask/darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask/darwin.go')
-rw-r--r--bitmask/darwin.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/bitmask/darwin.go b/bitmask/darwin.go
index 32a9b07..f425078 100644
--- a/bitmask/darwin.go
+++ b/bitmask/darwin.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") + "/Library/Preferences/leap"
+
+func hasCurve() bool {
+ return zmq4.HasCurve()
+}