b41b143018 (master): [ruby/openssl] asn1: use new ASN1_BIT_STRING accessor functions with OpenSSL 4.0

0 views
Skip to first unread message

Kazuki Yamaguchi

unread,
11:15 AM (8 hours ago) 11:15 AM
to ruby...@g.ruby-lang.org
Kazuki Yamaguchi 2026-02-26 12:33:19 +0000 (Thu, 26 Feb 2026)

New Revision: b41b143018

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

Log:
[ruby/openssl] asn1: use new ASN1_BIT_STRING accessor functions with OpenSSL 4.0

ASN1_STRING has been made opaque in OpenSSL's master branch. Use the
new accessor functions instead of accessing fields directly.

Other uses of ASN1_STRING fields were already updated in
<https://github.com/ruby/openssl/pull/978>. This patch converts the
remaining ones, which require the new functions added in OpenSSL 4.0
and were not available at that time.

https://github.com/ruby/openssl/commit/ebb505f217

Modified files:
ext/openssl/extconf.rb
ext/openssl/openssl_missing.h
ext/openssl/ossl_asn1.c
Reply all
Reply to author
Forward
0 new messages