mirror of
https://github.com/slackhq/nebula.git
synced 2026-07-01 19:10:29 +02:00
fix
This commit is contained in:
@@ -22,7 +22,7 @@ func TestNewCipherStateDispatch(t *testing.T) {
|
||||
encA, _ := buildCipherStates(t, CipherAESGCM)
|
||||
encC, _ := buildCipherStates(t, noise.CipherChaChaPoly)
|
||||
|
||||
if CipherAESGCM == noise.CipherAESGCM {
|
||||
if !EncryptLockNeeded {
|
||||
assert.IsType(t, &CipherStateAESGCM{}, NewCipherState(encA, CipherAESGCM))
|
||||
} else {
|
||||
// fips140
|
||||
|
||||
Reference in New Issue
Block a user