-
-
Notifications
You must be signed in to change notification settings - Fork 37k
Add structured version info for ssl #157513
Copy link
Copy link
Closed
Labels
3.16new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-SSLtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
Metadata
Metadata
Assignees
Labels
3.16new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-SSLtype-featureA feature request or enhancementA feature request or enhancement
Feature or enhancement
ssl.OPENSSL_VERSION_INFOis a plain tuple of five integers. The version of the OpenSSL library that the module was built against is available only as the privatessl._OPENSSL_API_VERSION.Make
ssl.OPENSSL_VERSION_INFOa named tuple with fields major, minor, fix, patch and status, and addssl.OPENSSL_API_VERSION_INFOfor the build-time version, a named tuple of the same type. The existing names describe the runtime library, so the naming scheme of gh-117404 cannot be applied tosslwithout renaming; "API version" is OpenSSL's own term for the headers the module was compiled with._OPENSSL_API_VERSIONis kept as an alias.Linked PRs