]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141801: Use accessors for ASN1_STRING fields in libssl (GH-141802)
authorDavid Benjamin <davidben@davidben.net>
Sat, 22 Nov 2025 17:17:45 +0000 (22:47 +0530)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 17:17:45 +0000 (09:17 -0800)
commitc41fce08a5d7aae8fd9e3fa25e0ba521600e097c
treeab298a2075c72cafc37b4a07e2405ebbdc3bb66f
parent5c25bc5763ccaa0ee4bb6ebf7d6fa23e036197a1
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

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Update Modules/_ssl.c

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Modules/_ssl.c