Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] gh-106687: _ssl: use uint64_t for SSL options (GH-106700) #106827

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 17, 2023

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 ad95c72)

Co-authored-by: Victor Stinner [email protected]

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 ad95c72)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner
Copy link
Member

@gpshead prefers to backport this change before Python 3.12 final: #106700 (comment)

@vstinner vstinner merged commit 497bfd5 into python:3.12 Jul 17, 2023
@miss-islington miss-islington deleted the backport-ad95c72-3.12 branch July 17, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants