Skip to content

Commit 24a053e

Browse files
committed
Merge branch 'maint-3.3'
* maint-3.3: Revisit 9a746ed
2 parents 5f0e60e + 5a2d36b commit 24a053e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/openssl/test_ossl.rb

-6
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ def test_secure_compare
4242
end
4343

4444
def test_memcmp_timing
45-
begin
46-
require "benchmark"
47-
rescue LoadError
48-
pend "Benchmark is not available in this environment. Please install it with `gem install benchmark`."
49-
end
50-
5145
# Ensure using fixed_length_secure_compare takes almost exactly the same amount of time to compare two different strings.
5246
# Regular string comparison will short-circuit on the first non-matching character, failing this test.
5347
# NOTE: this test may be susceptible to noise if the system running the tests is otherwise under load.

0 commit comments

Comments
 (0)