Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuaNerin committed Jan 11, 2024
1 parent b63143d commit c6e01ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/subtle/xor_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

// xorBytes xors the bytes in a and b. The destination should have enough
// space, otherwise xorBytes will panic. Returns the number of bytes xor'd.
func XORBytes(dst, a, b []byte, n int) int {
func XORBytes(dst, a, b []byte) int {
n := len(a)
if len(b) < n {
n = len(b)
Expand Down

0 comments on commit c6e01ab

Please sign in to comment.