Jarek Prokop
|
ee7b09f20b
|
Remove test cases where invalid CSR version is used.
Only CSR version 1 (encoded as 0) is allowed by PKIX standards.
Remove the tests to fix failures:
```
4) Error:
OpenSSL::TestX509Request#test_sign_and_verify_rsa_sha1:
OpenSSL::X509::RequestError: X509_REQ_set_version: passed invalid argument
/builddir/build/BUILD/ruby-3.0.7/test/openssl/test_x509req.rb:109:in `version='
/builddir/build/BUILD/ruby-3.0.7/test/openssl/test_x509req.rb:109:in `test_sign_and_verify_rsa_sha1'
5) Error:
OpenSSL::TestX509Request#test_version:
OpenSSL::X509::RequestError: X509_REQ_set_version: passed invalid argument
/builddir/build/BUILD/ruby-3.0.7/test/openssl/test_x509req.rb:18:in `version='
/builddir/build/BUILD/ruby-3.0.7/test/openssl/test_x509req.rb:18:in `issue_csr'
/builddir/build/BUILD/ruby-3.0.7/test/openssl/test_x509req.rb:43:in `test_version'
```
Source: c06fdeb091
See: https://github.com/ruby/openssl/pull/747
Related: RHEL-86130
|
2025-05-16 14:33:45 +02:00 |
|