mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-43788: Generate version specific _ssl_data.h (GH-25300)
Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
This commit is contained in:
parent
5151d64200
commit
150af75432
7 changed files with 15092 additions and 82 deletions
|
@ -135,7 +135,13 @@ static void _PySSLFixErrno(void) {
|
|||
#endif
|
||||
|
||||
/* Include generated data (error codes) */
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x30000000L)
|
||||
#include "_ssl_data_300.h"
|
||||
#elif (OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
#include "_ssl_data_111.h"
|
||||
#else
|
||||
#include "_ssl_data.h"
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
# define OPENSSL_VERSION_1_1 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue