End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
OpenSSL.mem_check_start
OpenSSL.mem_check_start → nil
ext/openssl/ossl.c
View on GitHub ↗
static VALUE
mem_check_start(VALUE self)
{
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
return Qnil;
}
Calls CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON). Starts tracking memory allocations. See also OpenSSL.print_mem_leaks.
This is available only when built with a capable OpenSSL and –enable-debug configure option.
See also
.fixed_length_secure_compare
.print_mem_leaks
.fips_mode=
.secure_compare
also in
3.2 · 3.0