Skip to content

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

Merged
gpshead merged 1 commit into
python:3.13from
miss-islington:backport-c41fce0-3.13
Nov 22, 2025
Merged

gpshead merged 1 commit into
python:3.13from
miss-islington:backport-c41fce0-3.13

Conversation

@miss-islington

Copy link
Copy Markdown
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 [email protected]

  • Update Modules/_ssl.c

Co-authored-by: Bénédikt Tran [email protected]


(cherry picked from commit c41fce0)

Co-authored-by: David Benjamin [email protected]
Co-authored-by: Bénédikt Tran [email protected]

…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 <[email protected]>

* Update Modules/_ssl.c

Co-authored-by: Bénédikt Tran <[email protected]>

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

Co-authored-by: David Benjamin <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
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.

3 participants