aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_engine.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2023-08-31 21:34:50 +0900
committerKazuki Yamaguchi <k@rhe.jp>2023-08-31 23:46:15 +0900
commit8c7a6a17e2bd5788ddbca8b5ac13c967fa59b284 (patch)
tree9a154ac27cc1b8e57cb6818dfc5afae4a87c0390 /test/openssl/test_engine.rb
parentfcda6cf9d5f69f6dc0c297ca76feff71f9021f00 (diff)
downloadruby-openssl-8c7a6a17e2bd5788ddbca8b5ac13c967fa59b284.tar.gz
Remove OSSL_DEBUG compile-time optionky/remove-mdebug
Remove the OSSL_DEBUG flag and OpenSSL.mem_check_start which is only compiled when the flag is given. They are meant purely for development of Ruby/OpenSSL. OpenSSL.mem_check_start helped us find memory leak bugs in past, but it is no longer working with the recent OpenSSL versions. Let's just remove it now.
Diffstat (limited to 'test/openssl/test_engine.rb')
-rw-r--r--test/openssl/test_engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_engine.rb b/test/openssl/test_engine.rb
index 15434218..b6025f91 100644
--- a/test/openssl/test_engine.rb
+++ b/test/openssl/test_engine.rb
@@ -82,7 +82,7 @@ class OpenSSL::TestEngine < OpenSSL::TestCase
# this is required because OpenSSL::Engine methods change global state
def with_openssl(code, **opts)
- assert_separately([{ "OSSL_MDEBUG" => nil }, "-ropenssl"], <<~"end;", **opts)
+ assert_separately(["-ropenssl"], <<~"end;", **opts)
#{code}
end;
end