Fix no-crypto build
This commit is contained in:
parent
d67c3a8c96
commit
34163859f0
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"errors"
|
||||||
|
)
|
||||||
|
|
||||||
func NewCryptoHelper(bridge *Bridge) Crypto {
|
func NewCryptoHelper(bridge *Bridge) Crypto {
|
||||||
if !bridge.Config.Bridge.Encryption.Allow {
|
if !bridge.Config.Bridge.Encryption.Allow {
|
||||||
bridge.Log.Warnln("Bridge built without end-to-bridge encryption, but encryption is enabled in config")
|
bridge.Log.Warnln("Bridge built without end-to-bridge encryption, but encryption is enabled in config")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user