1
0
mirror of https://github.com/golang/go synced 2024-09-29 07:34:36 -06:00

crypto: remove redundant nil check around loop

This commit is contained in:
Rijnard van Tonder 2018-10-11 15:14:14 -04:00
parent 8f9902da26
commit 694509e33d

View File

@ -231,12 +231,10 @@ L:
continue L
}
}
if dec != nil {
for j, v := range dec {
if v != tt.dec[j] {
t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j])
continue L
}
for j, v := range dec {
if v != tt.dec[j] {
t.Errorf("key %d: dec[%d] = %#x, want %#x", i, j, v, tt.dec[j])
continue L
}
}
}