<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>I am having problems working with repos which use TLSv1.2. I tracked down the problem to an ssl wrapper which is using TLSv1 instead of SSLv23.</div>
<div><br>
</div>
<div>This small change fixed it for me:</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
--- mercurial-3.4.2-1/mercurial/sslutil.py<span class="Apple-tab-span" style="white-space:pre">
</span>2015-07-01 18:46:36.000000000 -0400</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
+++ mercurial-3.4.2-2/mercurial/sslutil.py<span class="Apple-tab-span" style="white-space:pre">
</span>2015-07-20 12:36:17.946962585 -0400</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
@@ -55,7 +55,7 @@ try:</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
ca_certs=None, serverhostname=None):</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
sslsocket = ssl.wrap_socket(sock, keyfile, certfile,</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
cert_reqs=cert_reqs, ca_certs=ca_certs,</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
- ssl_version=ssl.PROTOCOL_TLSv1)</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
+ ssl_version=ssl.PROTOCOL_SSLv23)</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
# check if wrap_socket failed silently because socket had been</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
# closed</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
# - see http://bugs.python.org/issue13721</p>
</div>
<div><br>
</div>
<div>Hope this helps out someone else.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
-- </div>
<div>
<div>
<p class="MsoNormal" style="color: rgb(0, 0, 0); margin-right: 0in; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; margin-top: 0in; margin-bottom: 12pt; ">
<span style="font-size: 10pt; color: rgb(117, 110, 106); ">Warren Melnick<br>
Director of IT & Security</span></p>
<p class="MsoNormal" style="color: rgb(0, 0, 0); margin-right: 0in; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; margin-top: 0in; margin-bottom: 12pt; ">
<span style="color: rgb(117, 110, 106); "><br>
<img width="60" height="60" id="Picture_x0020_1" src="cid:DD891771-45C9-42A9-AE78-A8875D133BFB" alt="cid:3329740841_1500509" type="image/png"><br>
</span><span style="font-size: 10pt; color: rgb(117, 110, 106); ">Millennium Communications</span><span style="color: rgb(117, 110, 106); "> <br>
</span><span style="font-size: 10pt; color: rgb(117, 110, 106); ">6900 Jericho Tpke., Suit</span><span class="Apple-style-span" style="font-size: 14px;"><span style="font-size: 10pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;">e 100LL<br>
</span></span><span class="Apple-style-span" style="font-size: 14px; "><span style="font-size: 10pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;">Syosset, NY 11791</span><span style="font-size: 11pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;"> <br>
</span></span><span class="Apple-style-span" style="color: rgb(117, 110, 106); font-size: 13px; ">Tel: 516-682-8080 x258<br>
</span><span class="Apple-style-span" style="font-size: medium; "><span style="font-size: 10pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;">Fax: 516-682-9090</span><span style="font-size: 11pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;"> <br>
</span></span><span class="Apple-style-span" style="font-size: medium; "><span style="font-size: 10pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;">Web: </span><u style="color: rgb(0, 0, 0); font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; color: rgb(42, 88, 69); "><a href="http://www.millenniumweb.com/" style="color: blue; text-decoration: underline; ">www.millenniumweb.com</a><br>
</span></u></span><span class="Apple-style-span" style="font-size: medium; "><span style="font-size: 10pt; color: rgb(117, 110, 106); font-family: Calibri, sans-serif;">Email: </span><span style="font-size: 14px; color: rgb(42, 88, 69); "><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); "><a href="mailto:wmelnick@millenniumweb.com">wmelnick@millenniumweb.com</a></span></span></span></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-left: 0in; margin-top: 0in; margin-bottom: 12pt; ">
<br>
<span style="font-size: 7pt; color: rgb(118, 111, 107); font-family: Calibri, sans-serif;">This electronic message transmission contains information from Millennium Communications, Inc. that may be confidential or privileged. The information is intended to
be for the use of only the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this electronic
transmission in error, please notify the sender by replying to this e-mail and immediately deleting this email and any attachments from your system along with any copies you may have made, electronic or otherwise.</span><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif;"><o:p></o:p></span></p>
<div style="color: rgb(0, 0, 0); font-size: medium; font-family: Calibri; "><span style="font-size: 7pt; color: rgb(118, 111, 107); "><br>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>