From 35e25d08068c0dc2c4bb05e337339a41bbad520b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 3 Feb 2025 10:18:00 +0900 Subject: [PATCH] Revisit 9a746ed1a4aced9585cc33954a886e14aadf7193 --- test/openssl/test_ossl.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/openssl/test_ossl.rb b/test/openssl/test_ossl.rb index 806c4be1d..9f4b39d4f 100644 --- a/test/openssl/test_ossl.rb +++ b/test/openssl/test_ossl.rb @@ -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.