SIGN IN SIGN UP

[3.13] gh-141801: Use accessors for ASN1_STRING fields in libssl (GH-141802) (#141848)

gh-141801: Use accessors for ASN1_STRING fields in libssl (GH-141802)

* gh-141801: Use accessors for ASN1_STRING fields

While ASN1_STRING is currently exposed, it is better to use the
accessors. See https://github.com/openssl/openssl/issues/29117 where, if
the type were opaque, OpenSSL's X509 objects could be much more
memory-efficient.

* Update Modules/_ssl.c



* Update Modules/_ssl.c



---------
(cherry picked from commit c41fce08a5d7aae8fd9e3fa25e0ba521600e097c)

Co-authored-by: David Benjamin <davidben@davidben.net>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
M
Miss Islington (bot) committed
66e2b4ac546da911d2c14883a7a7aa987fac127e
Parent: 616117b
Committed by GitHub <noreply@github.com> on 11/22/2025, 6:53:14 PM