1
0
mirror of https://github.com/golang/go synced 2024-11-24 05:30:24 -07: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,7 +231,6 @@ 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])
@ -239,7 +238,6 @@ L:
}
}
}
}
}
// Appendix B, C of FIPS 197: Cipher examples, Example vectors.