summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2025-04-04 02:20:20 +0900
committergit <svn-admin@ruby-lang.org>2025-04-03 17:58:30 +0000
commit6b5e187d0eb07994fee7b5f0336da388a793dcbb (patch)
treea70b6f43254e321985227758a189321478d42a64 /include
parent3911113bc4d441d01ad888fbaaee494c9386ebe0 (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')
0 files changed, 0 insertions, 0 deletions