b4c8c8a6f0 (master): [ruby/openssl] pkcs7: fix error check of PKCS7_RECIP_INFO_set()

0 views
Skip to first unread message

ndossche

unread,
Apr 20, 2026, 6:04:34 AM (19 hours ago) Apr 20
to ruby...@g.ruby-lang.org
ndossche 2026-04-20 09:29:32 +0000 (Mon, 20 Apr 2026)

New Revision: b4c8c8a6f0

https://github.com/ruby/ruby/commit/b4c8c8a6f0

Log:
[ruby/openssl] pkcs7: fix error check of PKCS7_RECIP_INFO_set()

This function actually returns a value <=0 on error, but it is not
documented as such.
Example from OpenSSL code [1] and implementation [2] indicate as such
Reply all
Reply to author
Forward
0 new messages