From 046943ff482ff8e5665a50f62fcb63fa3bcf868e Mon Sep 17 00:00:00 2001 From: qiulaidongfeng <2645477756@qq.com> Date: Fri, 16 Feb 2024 17:42:48 +0800 Subject: [PATCH] crypto/subtle: remove unused code Change-Id: Ib02c7f1cf70448d8438b5a57f86f2d8643e81971 --- src/crypto/subtle/xor_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/crypto/subtle/xor_test.go b/src/crypto/subtle/xor_test.go index 7d89b83f40..a348660c63 100644 --- a/src/crypto/subtle/xor_test.go +++ b/src/crypto/subtle/xor_test.go @@ -63,14 +63,6 @@ func TestXorBytesPanic(t *testing.T) { }) } -func min(a, b []byte) int { - n := len(a) - if len(b) < n { - n = len(b) - } - return n -} - func BenchmarkXORBytes(b *testing.B) { dst := make([]byte, 1<<15) data0 := make([]byte, 1<<15)