[PATCH] sslutil: ensure server_hostname is str for SSL APIs
Starbuddy127
commandrogenic101 at gmail.com
Mon Apr 13 04:13:46 UTC 2026
Hi everyone,
This patch fixes a TypeError when using Python 3.13 (truststore on Windows),
where server_hostname is passed as bytes to the SSL layer. Convert
server_hostname to str at the wrap_socket() boundary.
Many thanks,
Doby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20260413/39addb5a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl-fix.patch
Type: application/octet-stream
Size: 1281 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20260413/39addb5a/attachment.obj>
More information about the Mercurial-devel
mailing list