mirror of
https://github.com/golang/go
synced 2024-11-16 22:04:50 -07:00
crypto/aes: remove redundant nil check around loop
Change-Id: I8cc4b5efe798e74b6daabd64fc2dd5486dcb7c5e
GitHub-Last-Rev: 694509e33d
GitHub-Pull-Request: golang/go#28115
Reviewed-on: https://go-review.googlesource.com/c/140998
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
e861c3e003
commit
9c039ea27a
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user