You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New warning in ssl.c: conversion from 'uint64_t' to 'long', possible loss of data #106687
I fixed the compiler warning in 3.12 and main branches. I close the issue.
Python 3.11 doesn't seem to emit a compiler warning. So I prefer to leave it unchanged for now, but only change the code if it starts to emit a warning: see #99079 which suggests upgrading OpenSSL from 1.1 to 3.0.
Activity
pythongh-106687: _ssl: use uint64_t for SSL options
vstinner commentedon Jul 12, 2023
I wrote PR #106700 to fix the compiler warning.
pythongh-106687: _ssl: use uint64_t for SSL options
pythongh-106687: _ssl: use uint64_t for SSL options
gh-106687: _ssl: use uint64_t for SSL options (#106700)
pythongh-106687: _ssl: use uint64_t for SSL options (pythonGH-106700)
vstinner commentedon Jul 17, 2023
I fixed the compiler warning in 3.12 and main branches. I close the issue.
Python 3.11 doesn't seem to emit a compiler warning. So I prefer to leave it unchanged for now, but only change the code if it starts to emit a warning: see #99079 which suggests upgrading OpenSSL from 1.1 to 3.0.
See PR #106700 for details.
[3.12] gh-106687: _ssl: use uint64_t for SSL options (GH-106700) (#10…
sobolevn commentedon Jul 17, 2023
Thank you, @vstinner!
[3.11] gh-106687: _ssl: use uint64_t for SSL options (#106700) (#116665)