Skip to content

Commit 122e2e8

Browse files
committed
Enable TLS 1.2 to fix test failures
Specifically: test_poplib and test_urllib2_localnet
1 parent dccde1c commit 122e2e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ static void _PySSLFixErrno(void) {
171171
# define OPENSSL_NO_SSL3
172172
# define OPENSSL_NO_TLS1
173173
# define OPENSSL_NO_TLS1_1
174-
# define OPENSSL_NO_TLS1_2
174+
// # define OPENSSL_NO_TLS1_2
175175
# define OPENSSL_NO_SSL3_METHOD
176176
# define OPENSSL_NO_TLS1_METHOD
177177
# define OPENSSL_NO_TLS1_1_METHOD
178-
# define OPENSSL_NO_TLS1_2_METHOD
178+
// # define OPENSSL_NO_TLS1_2_METHOD
179179
#endif
180180

181181
/* OpenSSL API 1.1.0+ does not include version methods */

0 commit comments

Comments
 (0)