Commit graph

7 commits

Author SHA1 Message Date
Jun Aruga
ad742de79b [ruby/openssl] Fix test_provider.rb in FIPS.
7bdbc52100
2024-09-06 16:58:18 +00:00
Jun Aruga
eb4082284a [ruby/openssl] test_provider.rb: Make a legacy provider test optional.
In some cases such as OpenSSL package in FreeBSD[1], the legacy provider is not
installed intentionally. So, we omit a test depending the legacy provider if the
legacy provider is not loadable.

For the test_openssl_provider_names test, we use base provider[2] instead of
legacy provider, because we would expect the base provider is always loadable
in OpenSSL 3 for now.

* [1] https://www.freshports.org/security/openssl/
* [2] https://wiki.openssl.org/index.php/OpenSSL_3.0#Providers

7223da7730
2024-03-13 15:47:27 +00:00
Jun Aruga
171791426b [ruby/openssl] Revert "omit tests related legacy provider"
This reverts commit 9b7543d588.

The case not providing the legacy provider can happen not only in FreeBSD but
also in other platforms. The fix is addressed in the next commit.

8c26fc26a1
2024-03-13 15:47:26 +00:00
Hiroshi SHIBATA
c14d295afd
Fix accidentally changed to rename test method at d95d3484a9 2024-02-19 11:05:13 +09:00
Hiroshi SHIBATA
d95d3484a9
omit tests related legacy provider
It failed with recent update of FreeBSD

20240207T023002Z.fail.html.gz
2024-02-07 16:06:01 +09:00
Kazuki Yamaguchi
912f1cda0d [ruby/openssl] Remove OSSL_DEBUG compile-time option
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.

8c7a6a17e2
2023-09-06 19:20:57 +09:00
qwyng
e9f62fa5a7 [ruby/openssl] add OpenSSL Provider support
189c167e40
[rhe: tool/update-deps --fix to update ext/openssl/depend]
2023-06-19 17:45:51 +09:00