]> git.ipfire.org Git - thirdparty/dnspython.git/commit
In async TLS do not ignore a ssl_context given as an argument [#951].
authorBob Halley <halley@dnspython.org>
Fri, 7 Jul 2023 14:29:08 +0000 (07:29 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 7 Jul 2023 14:29:08 +0000 (07:29 -0700)
commit73badd1e27d54f74a3d7815a3edb911f5db394a0
treebe2fa5c0b31af3407f912d68604e4e3ba625346b
parent906a5ef63599fb39dbc3a25b772a3b947efb2cb2
In async TLS do not ignore a ssl_context given as an argument [#951].

The async TLS code would always fail if given an ssl_context instead
of making one, as it set the passed paramter to None and then called
into the async socket backend, which would make a regular TCP socket
(i.e. no TLS), which would be rejected by the server as it wasn't
using TLS.
dns/asyncquery.py