diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2025-04-04 02:20:20 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-04-03 17:58:30 +0000 |
| commit | 6b5e187d0eb07994fee7b5f0336da388a793dcbb (patch) | |
| tree | a70b6f43254e321985227758a189321478d42a64 /include/ruby/missing.h | |
| parent | 3911113bc4d441d01ad888fbaaee494c9386ebe0 (diff) | |
[ruby/openssl] pkcs7: fix test failure on RHEL 9
The test case test_split_content fails on RHEL 9 and Fedora 41 because
their OpenSSL packages do not accept SHA-1 signatures. This was only
caught after commit https://github.com/ruby/openssl/commit/69fd7f886313 added the missing assertion.
While the example PKCS#7 structures could be simply regenerated with
SHA-256, this test case could be simplified because it is checking two
different things.
Replace test_split_content with separate test cases: one verifying
signed-data authenticatedAttributes and another for decoding BER input.
Fixes https://github.com/ruby/openssl/issues/875
https://github.com/ruby/openssl/commit/b32406b0c1
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions
