| Index: third_party/gsutil/boto/boto/https_connection.py
|
| diff --git a/third_party/gsutil/20110627/boto/boto/https_connection.py b/third_party/gsutil/boto/boto/https_connection.py
|
| similarity index 94%
|
| rename from third_party/gsutil/20110627/boto/boto/https_connection.py
|
| rename to third_party/gsutil/boto/boto/https_connection.py
|
| index d21cce393158a4fc5e788ce3043e8cb767fd0459..d7a3f3acc90897faf9bfa65171d5eacb9825c563 100644
|
| --- a/third_party/gsutil/20110627/boto/boto/https_connection.py
|
| +++ b/third_party/gsutil/boto/boto/https_connection.py
|
| @@ -116,6 +116,9 @@ class CertValidatingHTTPSConnection(httplib.HTTPConnection):
|
| cert = self.sock.getpeercert()
|
| hostname = self.host.split(':', 0)[0]
|
| if not ValidateCertificateHostname(cert, hostname):
|
| - raise InvalidCertificateException(hostname, cert, 'hostname mismatch')
|
| + raise InvalidCertificateException(hostname,
|
| + cert,
|
| + 'remote hostname "%s" does not match '\
|
| + 'certificate' % hostname)
|
|
|
|
|
|
|