]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106687: _ssl: use uint64_t for SSL options (#106700) (#116665)
authorVictor Stinner <vstinner@python.org>
Wed, 13 Mar 2024 16:49:30 +0000 (17:49 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 16:49:30 +0000 (17:49 +0100)
commitf292b0724efb503fa3d466fb12415d8ca44af686
tree693040042e72ba774a32d6bc8c95cca843b62d8e
parentcde47e222e8899cf6f9ec1db7d660c03cb7e7e04
[3.11] gh-106687: _ssl: use uint64_t for SSL options (#106700) (#116665)

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

(cherry picked from commit ad95c7253a70e559e7d3f25d53f4772f28bb8b44)
Lib/test/test_ssl.py
Modules/_ssl.c