Skip to content

Conversation

@miss-islington
Copy link
Contributor

While ASN1_STRING is currently exposed, it is better to use the
accessors. See openssl/openssl#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


(cherry picked from commit c41fce0)

Co-authored-by: David Benjamin davidben@davidben.net
Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com

…onGH-141802)

* pythongh-141801: Use accessors for ASN1_STRING fields

While ASN1_STRING is currently exposed, it is better to use the
accessors. See openssl/openssl#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>

---------
(cherry picked from commit c41fce0)

Co-authored-by: David Benjamin <davidben@davidben.net>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @gpshead for commit 6267ebb 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141847%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 22, 2025
@gpshead gpshead merged commit 972aa93 into python:3.14 Nov 22, 2025
93 of 100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants