diff options
author | Vít Ondruch <vondruch@redhat.com> | 2021-11-01 18:40:06 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-11-02 19:12:35 +0900 |
commit | c2dcaa73626ab7a44dcc357d9751d9e2285d56ba (patch) | |
tree | d9e0c6358f54cedba460acdc0287f39dbdbfff88 /ext/coverage | |
parent | 83704a28519632eabe41664d58071381dd1e7159 (diff) | |
download | ruby-c2dcaa73626ab7a44dcc357d9751d9e2285d56ba.tar.gz |
[rubygems/rubygems] Use OpenSSL constants for error codes.
This fixes the following test error testing against OpenSSL 3.x:
~~~
2) Failure:
TestGemRequest#test_verify_certificate_extra_message [/builddir/build/BUILD/ruby-3.0.2/test/rubygems/test_gem_request.rb:358]:
<"ERROR: SSL verification error at depth 0: invalid CA certificate (24)\n" +
"ERROR: Certificate is an invalid CA certificate\n"> expected but was
<"ERROR: SSL verification error at depth 0: invalid CA certificate (79)\n" +
"ERROR: Certificate is an invalid CA certificate\n">.
~~~
Where the root cause is this OpenSSL commit:
https://github.com/openssl/openssl/commit/1e41dadfa7b9f792ed0f4714a3d3d36f070cf30e
It seems that OpenSSL upstream considers the constant value just an
implementation detail and therefore this changes the test case to
follow the suite.
https://github.com/rubygems/rubygems/commit/8acf8e95dc
Diffstat (limited to 'ext/coverage')
0 files changed, 0 insertions, 0 deletions