New submission from ramikg <ramikg...@gmail.com>:

The PySSLContext struct mentions that "OpenSSL has no API to get hostflags from 
X509_VERIFY_PARAM* struct. We have to maintain our own copy".
Since OpenSSL 1.1.0i added the function X509_VERIFY_PARAM_get_hostflags, this 
statement is no longer true.
Because Python 3.10 requires OpenSSL 1.1.1 (PEP 644), we no longer have to 
maintain a copy of the host flags.

The related PR removes the hostflags member from the PySSLContext struct.

----------
assignee: christian.heimes
components: SSL
messages: 403368
nosy: christian.heimes, ramikg
priority: normal
pull_requests: 27117
severity: normal
status: open
title: Remove hostflags from PySSLContext
type: enhancement
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45399>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to