]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106687: _ssl: use uint64_t for SSL options (#106700)
authorVictor Stinner <vstinner@python.org>
Mon, 17 Jul 2023 15:55:30 +0000 (17:55 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2023 15:55:30 +0000 (17:55 +0200)
commitad95c7253a70e559e7d3f25d53f4772f28bb8b44
treef64578e483489c7c2ea93b3e4bf9f1cd3e285742
parent036bb7365607ab7e5cf901f1ac4256f9ae1be82c
gh-106687: _ssl: use uint64_t for SSL options (#106700)

SSL_CTX_get_options() uses uint64_t for options:
https://www.openssl.org/docs/man3.1/man3/SSL_CTX_get_options.html

Fix this compiler warning on Windows with MSC:

    conversion from 'uint64_t' to 'long', possible loss of data
Lib/test/test_ssl.py
Modules/_ssl.c