mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
change OS X to macOS (#41294)
* change OS X to macOS <!--- Your description here --> +label: docsite_pr * Update all Mac OS X references to be macOS * Drop extra Mac
This commit is contained in:
parent
c0c20835ac
commit
15ce7c5bab
22 changed files with 45 additions and 45 deletions
|
@ -248,8 +248,8 @@ if not HAS_MATCH_HOSTNAME:
|
|||
HAS_MATCH_HOSTNAME = True
|
||||
|
||||
|
||||
# This is a dummy cacert provided for Mac OS since you need at least 1
|
||||
# ca cert, regardless of validity, for Python on Mac OS to use the
|
||||
# This is a dummy cacert provided for macOS since you need at least 1
|
||||
# ca cert, regardless of validity, for Python on macOS to use the
|
||||
# keychain functionality in OpenSSL for validating SSL certificates.
|
||||
# See: http://mercurial.selenic.com/wiki/CACertificates#Mac_OS_X_10.6_and_higher
|
||||
b_DUMMY_CA_CERT = b"""-----BEGIN CERTIFICATE-----
|
||||
|
@ -625,7 +625,7 @@ class SSLValidationHandler(urllib_request.BaseHandler):
|
|||
to_add_fd, to_add_path = tempfile.mkstemp()
|
||||
to_add = False
|
||||
|
||||
# Write the dummy ca cert if we are running on Mac OS X
|
||||
# Write the dummy ca cert if we are running on macOS
|
||||
if system == u'Darwin':
|
||||
os.write(tmp_fd, b_DUMMY_CA_CERT)
|
||||
# Default Homebrew path for OpenSSL certs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue