浏览代码

Fix no-crypto build

Tulir Asokan 4 年之前
父节点
当前提交
34163859f0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      no-crypto.go

+ 4 - 0
no-crypto.go

@@ -2,6 +2,10 @@
 
 package main
 
+import (
+	"errors"
+)
+
 func NewCryptoHelper(bridge *Bridge) Crypto {
 	if !bridge.Config.Bridge.Encryption.Allow {
 		bridge.Log.Warnln("Bridge built without end-to-bridge encryption, but encryption is enabled in config")