Skip to content

Commit a24822a

Browse files
chore: check hostname
1 parent 120becd commit a24822a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

google/cloud/sql/connector/connection_info.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ async def create_ssl_context(self, enable_iam_auth: bool = False) -> ssl.SSLCont
5757
return self.context
5858
context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
5959

60-
# update ssl.PROTOCOL_TLS_CLIENT default
61-
context.check_hostname = False
62-
6360
# TODO: remove if/else when Python 3.10 is min version. PEP 644 has been
6461
# implemented. The ssl module requires OpenSSL 1.1.1 or newer.
6562
# verify OpenSSL version supports TLSv1.3

0 commit comments

Comments
 (0)