Fix no-crypto build
This commit is contained in:
parent
d67c3a8c96
commit
34163859f0
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user