Wait up to 3 seconds for encryption keys to arrive

This commit is contained in:
Tulir Asokan
2020-09-24 15:25:36 +03:00
parent 0b2fd69bf1
commit d67c3a8c96
8 changed files with 38 additions and 13 deletions

View File

@@ -9,3 +9,5 @@ func NewCryptoHelper(bridge *Bridge) Crypto {
bridge.Log.Debugln("Bridge built without end-to-bridge encryption")
return nil
}
var NoSessionFound = errors.New("nil")