This commit is contained in:
Wade Simmons
2026-06-01 11:22:39 -04:00
parent 1d17c785a8
commit 56a09b7cbb
+1 -1
View File
@@ -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