Skip to content

Commit 6743dc0

Browse files
Replace OPENSSL_NO_TLS_PHA with SSL_VERIFY_POST_HANDSHAKE
1 parent 3909fe4 commit 6743dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ extern const SSL_METHOD *TLSv1_2_method(void);
187187
#endif
188188

189189

190-
#if defined(OPENSSL_NO_TLS_PHA) || !defined(TLS1_3_VERSION) || defined(OPENSSL_NO_TLS1_3)
190+
#if !defined(SSL_VERIFY_POST_HANDSHAKE) || !defined(TLS1_3_VERSION) || defined(OPENSSL_NO_TLS1_3)
191191
#define PY_SSL_NO_POST_HS_AUTH
192192
#endif
193193

0 commit comments

Comments
 (0)