Skip to content

Commit a18f74d

Browse files
authored
Merge pull request #114 from cperezabo/main
El parche relacionado al error de DH_KEY_TOO_SMALL debe aplicarse en macOS también
2 parents 90ef00f + 980ec2a commit a18f74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
import platform
9191

9292
monkey_patch = sys.version_info < (3, ) or httplib2._build_ssl_context.__module__ != "httplib2"
93-
needs_patch = platform.system() == 'Linux' or sys.version_info > (3, 10)
93+
needs_patch = platform.system() in ["Linux", "Darwin"] or sys.version_info > (3, 10)
9494
if needs_patch and not monkey_patch:
9595
_build_ssl_context = httplib2._build_ssl_context
9696

0 commit comments

Comments
 (0)