<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/openssl/test_provider.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/openssl] provider: load "default" provider in test_openssl_legacy_provider</title>
<updated>2025-10-08T13:59:38+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2025-08-01T09:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=810b3a405bf7431c852778580d44c1421edfcad9'/>
<id>810b3a405bf7431c852778580d44c1421edfcad9</id>
<content type='text'>
Update the test case to explicitly load both the "default" and the
"legacy" providers.

Currently, the "default" provider as a side effect by the
OpenSSL::PKey::DH.new call in lib/openssl/ssl.rb. It will be cleaned up
in a following patch.

https://github.com/ruby/openssl/commit/013db02fb2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the test case to explicitly load both the "default" and the
"legacy" providers.

Currently, the "default" provider as a side effect by the
OpenSSL::PKey::DH.new call in lib/openssl/ssl.rb. It will be cleaned up
in a following patch.

https://github.com/ruby/openssl/commit/013db02fb2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] Fix test_provider.rb in FIPS.</title>
<updated>2024-09-06T16:58:18+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2024-09-05T18:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ad742de79bcce53290005429868f63c51cbeb0f2'/>
<id>ad742de79bcce53290005429868f63c51cbeb0f2</id>
<content type='text'>
https://github.com/ruby/openssl/commit/7bdbc52100
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/openssl/commit/7bdbc52100
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] test_provider.rb: Make a legacy provider test optional.</title>
<updated>2024-03-13T15:47:27+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2024-02-08T17:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb4082284aace391a16a389a70eeaf1e7db5c542'/>
<id>eb4082284aace391a16a389a70eeaf1e7db5c542</id>
<content type='text'>
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

https://github.com/ruby/openssl/commit/7223da7730
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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

https://github.com/ruby/openssl/commit/7223da7730
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] Revert "omit tests related legacy provider"</title>
<updated>2024-03-13T15:47:26+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2024-02-21T09:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=171791426b748ec5109f579d8aaa9b450a6fd02a'/>
<id>171791426b748ec5109f579d8aaa9b450a6fd02a</id>
<content type='text'>
This reverts commit https://github.com/ruby/openssl/commit/9b7543d58869.

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.

https://github.com/ruby/openssl/commit/8c26fc26a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit https://github.com/ruby/openssl/commit/9b7543d58869.

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.

https://github.com/ruby/openssl/commit/8c26fc26a1
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix accidentally changed to rename test method at d95d3484a90a985b971ef4c55762847d92b6c81a</title>
<updated>2024-02-19T02:05:13+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-02-19T02:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c14d295afd45d1edd08c23048f7719bca3c79072'/>
<id>c14d295afd45d1edd08c23048f7719bca3c79072</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>omit tests related legacy provider</title>
<updated>2024-02-07T07:06:01+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-02-07T07:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d95d3484a90a985b971ef4c55762847d92b6c81a'/>
<id>d95d3484a90a985b971ef4c55762847d92b6c81a</id>
<content type='text'>
It failed with recent update of FreeBSD

https://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20240207T023002Z.fail.html.gz
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It failed with recent update of FreeBSD

https://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20240207T023002Z.fail.html.gz
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] Remove OSSL_DEBUG compile-time option</title>
<updated>2023-09-06T10:20:57+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2023-08-31T12:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=912f1cda0d2ddfb4e6a52d43952a0562cb0fb46d'/>
<id>912f1cda0d2ddfb4e6a52d43952a0562cb0fb46d</id>
<content type='text'>
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.

https://github.com/ruby/openssl/commit/8c7a6a17e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

https://github.com/ruby/openssl/commit/8c7a6a17e2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] add OpenSSL Provider support</title>
<updated>2023-06-19T08:45:51+00:00</updated>
<author>
<name>qwyng</name>
<email>ikusawasi@gmail.com</email>
</author>
<published>2023-06-02T12:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e9f62fa5a762d367e3dc1818d29450ee8e9e25ab'/>
<id>e9f62fa5a762d367e3dc1818d29450ee8e9e25ab</id>
<content type='text'>
https://github.com/ruby/openssl/commit/189c167e40
[rhe: tool/update-deps --fix to update ext/openssl/depend]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/openssl/commit/189c167e40
[rhe: tool/update-deps --fix to update ext/openssl/depend]
</pre>
</div>
</content>
</entry>
</feed>
