[New-bugs-announce] [issue41235] Incorrect error handling in SSLContext.load_dh_params()

Zackery Spytz report at bugs.python.org
Tue Jul 7 23:55:25 EDT 2020


New submission from Zackery Spytz <zspytz at gmail.com>:

If the SSL_CTX_set_tmp_dh() call fails, SSLContext.load_dh_params() returns
None with a live exception.  It should return NULL in this case.

----------
assignee: christian.heimes
components: Extension Modules, SSL
messages: 373271
nosy: ZackerySpytz, christian.heimes
priority: normal
severity: normal
status: open
title: Incorrect error handling in SSLContext.load_dh_params()
type: behavior
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41235>
_______________________________________


More information about the New-bugs-announce mailing list