blake2b: fix self-assignment in test
Fix self-assignment of useAVX variable. (vet warning)
Run-TryBot: Brad Fitzpatrick
TryBot-Result: Gobot Gobot
@@ -22,7 +22,7 @@ func fromHex(s string) []byte {
func TestHashes(t *testing.T) {
defer func(sse4, avx, avx2 bool) {
- useSSE4, useAVX, useAVX2 = sse4, useAVX, avx2
+ useSSE4, useAVX, useAVX2 = sse4, avx, avx2
}(useSSE4, useAVX, useAVX2)
if useAVX2 {
