Skip to content

Commit

Permalink
Revisit 9a746ed
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored and rhenium committed Feb 3, 2025
1 parent d974eda commit 35e25d0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/openssl/test_ossl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ def test_secure_compare
end

def test_memcmp_timing
begin
require "benchmark"
rescue LoadError
pend "Benchmark is not available in this environment. Please install it with `gem install benchmark`."
end

# Ensure using fixed_length_secure_compare takes almost exactly the same amount of time to compare two different strings.
# Regular string comparison will short-circuit on the first non-matching character, failing this test.
# NOTE: this test may be susceptible to noise if the system running the tests is otherwise under load.
Expand Down

0 comments on commit 35e25d0

Please sign in to comment.