File tree Expand file tree Collapse file tree 5 files changed +3
-256
lines changed Expand file tree Collapse file tree 5 files changed +3
-256
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ require (
7
7
github.com/stretchr/testify v1.9.0
8
8
github.com/wlynxg/anet v0.0.4
9
9
golang.org/x/net v0.28.0
10
- golang.org/x/sys v0.24.0
11
10
)
12
11
13
12
require (
14
13
github.com/davecgh/go-spew v1.1.1 // indirect
15
14
github.com/pmezard/go-difflib v1.0.0 // indirect
15
+ golang.org/x/sys v0.24.0 // indirect
16
16
gopkg.in/yaml.v3 v3.0.1 // indirect
17
17
)
Original file line number Diff line number Diff line change 3
3
// SPDX-FileCopyrightText: 2024 The Pion community <https://pion.ly>
4
4
// SPDX-License-Identifier: MIT
5
5
6
- //go:build go1.20 && !arm && !gccgo
7
-
8
6
// Package xor provides the XorBytes function.
9
7
package xor
10
8
@@ -14,6 +12,8 @@ import (
14
12
15
13
// XorBytes calls [crypto/suble.XORBytes].
16
14
//
15
+ // Deprecated: please call [crypto/subtle.XORBytes] instead.
16
+ //
17
17
//revive:disable-next-line
18
18
func XorBytes (dst , a , b []byte ) int {
19
19
return subtle .XORBytes (dst , a , b )
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments