Skip to content

Commit

Permalink
fix rc4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Oct 13, 2023
1 parent 5f92ea4 commit 688e6be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rc4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ func TestRC4Block(t *testing.T) {
}

func TestRC4OutOfBoundsWrite(t *testing.T) {
if !openssl.SupportsRC4() {
t.Skip("RC4 is not supported")
}
// This cipherText is encrypted "0123456789"
cipherText := []byte{238, 41, 187, 114, 151, 2, 107, 13, 178, 63}
cipher, err := openssl.NewRC4Cipher([]byte{0})
Expand Down

0 comments on commit 688e6be

Please sign in to comment.