<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/openssl/test_config.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] test_config.rb: skip AWS-LC's unsupported features</title>
<updated>2025-02-22T15:11:37+00:00</updated>
<author>
<name>Samuel Chiang</name>
<email>sachiang@amazon.com</email>
</author>
<published>2025-02-12T01:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c4a39d6ebccdc5cf6a04fc7238e40a8a45749b86'/>
<id>c4a39d6ebccdc5cf6a04fc7238e40a8a45749b86</id>
<content type='text'>
AWS-LC has a few minor functionalities removed from NCONF_get_string.

1. Expanding of $foo to a previously-parsed value was removed.
2. OpenSSL falls back to using "default" with an unknown "section".
   AWS-LC does not support this behavior.
3. AWS-LC does not support parsing environment variables with "ENV"
   like LibreSSL.

https://github.com/ruby/openssl/commit/e8de3bbd1e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AWS-LC has a few minor functionalities removed from NCONF_get_string.

1. Expanding of $foo to a previously-parsed value was removed.
2. OpenSSL falls back to using "default" with an unknown "section".
   AWS-LC does not support this behavior.
3. AWS-LC does not support parsing environment variables with "ENV"
   like LibreSSL.

https://github.com/ruby/openssl/commit/e8de3bbd1e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] make configs shareable when frozen</title>
<updated>2024-12-07T07:52:02+00:00</updated>
<author>
<name>HoneyryderChuck</name>
<email>cardoso_tiago@hotmail.com</email>
</author>
<published>2024-11-25T08:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5444885726bbb1b75bbc1c7a04a3837efb87b7d0'/>
<id>5444885726bbb1b75bbc1c7a04a3837efb87b7d0</id>
<content type='text'>
https://github.com/ruby/openssl/commit/654cb22e21
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/openssl/commit/654cb22e21
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] make config frozen on initialize</title>
<updated>2024-12-07T07:52:01+00:00</updated>
<author>
<name>HoneyryderChuck</name>
<email>cardoso_tiago@hotmail.com</email>
</author>
<published>2024-11-25T08:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2a006fe54b2596f67db8f1ef8697f12e61789b37'/>
<id>2a006fe54b2596f67db8f1ef8697f12e61789b37</id>
<content type='text'>
https://github.com/ruby/openssl/commit/50599513cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/openssl/commit/50599513cf
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] config: relax test assertions against error messages</title>
<updated>2023-08-16T05:48:41+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2023-07-01T12:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=382b42be9446e1d215109cc47db9ebc156cb8f8f'/>
<id>382b42be9446e1d215109cc47db9ebc156cb8f8f</id>
<content type='text'>
Test that the error message contains the necessary text instead of the
exact match. Exceptions raised by ossl_raise() may carry additional
context information in the message.

https://github.com/ruby/openssl/commit/fd6f76c0d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test that the error message contains the necessary text instead of the
exact match. Exceptions raised by ossl_raise() may carry additional
context information in the message.

https://github.com/ruby/openssl/commit/fd6f76c0d3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] Fixed misspellings</title>
<updated>2021-10-16T09:25:11+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-12-20T03:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ed7ea35d7450a5c2b7794f56050eb34c071dd34b'/>
<id>ed7ea35d7450a5c2b7794f56050eb34c071dd34b</id>
<content type='text'>
[ This is a backport to the 2.1 branch. ]

Fixed misspellings reported at [Bug #16437], for default gems.

(cherry picked from commit ruby/ruby@e68999c82c4863d33a6f893661fba1b7538c5671)

https://github.com/ruby/openssl/commit/0f43789503
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ This is a backport to the 2.1 branch. ]

Fixed misspellings reported at [Bug #16437], for default gems.

(cherry picked from commit ruby/ruby@e68999c82c4863d33a6f893661fba1b7538c5671)

https://github.com/ruby/openssl/commit/0f43789503
</pre>
</div>
</content>
</entry>
<entry>
<title>test/openssl/test_config: skip tests for .include on older OpenSSL</title>
<updated>2021-03-16T13:30:33+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2021-03-16T13:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e61e9bcfb27580ae52b46fc7ca49c38f8fdeb8cd'/>
<id>e61e9bcfb27580ae52b46fc7ca49c38f8fdeb8cd</id>
<content type='text'>
The .include directive was initially added by OpenSSL 1.1.1, but the
syntax was later modified in 1.1.1b to improve compatibility with the
parser in &lt;= 1.1.0. The test case expects 1.1.1b's parser.

https://github.com/openssl/openssl/commit/95f59d398c3f28f7ee50f092106c5910d25f9e30

The test case is failing on Ubuntu 18.04 because it still uses the
initial 1.1.1 release:

http://rubyci.s3.amazonaws.com/graviton2/ruby-master/log/20210316T120003Z.fail.html.gz
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .include directive was initially added by OpenSSL 1.1.1, but the
syntax was later modified in 1.1.1b to improve compatibility with the
parser in &lt;= 1.1.0. The test case expects 1.1.1b's parser.

https://github.com/openssl/openssl/commit/95f59d398c3f28f7ee50f092106c5910d25f9e30

The test case is failing on Ubuntu 18.04 because it still uses the
initial 1.1.1 release:

http://rubyci.s3.amazonaws.com/graviton2/ruby-master/log/20210316T120003Z.fail.html.gz
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] config: revert to C implementation of OpenSSL::Config</title>
<updated>2021-03-16T10:16:10+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2020-02-19T05:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=22aeb6373e13929e80da1676b1dc79cbfffc38a4'/>
<id>22aeb6373e13929e80da1676b1dc79cbfffc38a4</id>
<content type='text'>
Revert OpenSSL::Config to using the OpenSSL API and remove our own
parser implementation for the config file syntax.

OpenSSL::Config now wraps a CONF object. Accessor methods deal with the
object directly rather than Ruby-level internal state.

This work is based on the old C code we used before 2010.

https://github.com/ruby/openssl/commit/c891e0ea89
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert OpenSSL::Config to using the OpenSSL API and remove our own
parser implementation for the config file syntax.

OpenSSL::Config now wraps a CONF object. Accessor methods deal with the
object directly rather than Ruby-level internal state.

This work is based on the old C code we used before 2010.

https://github.com/ruby/openssl/commit/c891e0ea89
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] test/openssl/test_config: skip test_get_value_ENV on LibreSSL</title>
<updated>2021-03-16T10:16:10+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2020-02-21T19:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c13d2b3cc503790d044a6f5a34a61c50bc643c3'/>
<id>7c13d2b3cc503790d044a6f5a34a61c50bc643c3</id>
<content type='text'>
LibreSSL has removed the feature to map environment variables onto the
"ENV" section.

https://github.com/ruby/openssl/commit/b70817faec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LibreSSL has removed the feature to map environment variables onto the
"ENV" section.

https://github.com/ruby/openssl/commit/b70817faec
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] test/openssl/test_config: fix non-deterministic test case</title>
<updated>2021-03-16T10:16:10+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2020-04-22T12:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c66784602048fb4724e8d37038a0e6799f55d46'/>
<id>0c66784602048fb4724e8d37038a0e6799f55d46</id>
<content type='text'>
Sort keys of a section before comparing. The ordering is not part of the
API. This can cause a test failure if we use OpenSSL's C implementation.

Fixes: 2ad65b5f673f ("config: support .include directive", 2018-08-16)

https://github.com/ruby/openssl/commit/259e6fd2dc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sort keys of a section before comparing. The ordering is not part of the
API. This can cause a test failure if we use OpenSSL's C implementation.

Fixes: 2ad65b5f673f ("config: support .include directive", 2018-08-16)

https://github.com/ruby/openssl/commit/259e6fd2dc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/openssl] test/openssl/test_config: add missing test case for Config.parse_config</title>
<updated>2021-03-16T10:16:10+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2020-02-19T05:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ffc01afc479f93967360995006c61b806208357e'/>
<id>ffc01afc479f93967360995006c61b806208357e</id>
<content type='text'>
https://github.com/ruby/openssl/commit/9ce2ccf36d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/openssl/commit/9ce2ccf36d
</pre>
</div>
</content>
</entry>
</feed>
