mercurial/sslutil.py
changeset 29228 9b07017ba528
parent 29227 dffe78d80a6c
child 29248 e6de6ef3e426
--- a/mercurial/sslutil.py	Sun May 15 11:38:38 2016 -0700
+++ b/mercurial/sslutil.py	Sun May 15 11:50:49 2016 -0700
@@ -299,8 +299,6 @@
     host = sock._hgstate['hostname']
     ui = sock._hgstate['ui']
 
-    if not sock.cipher(): # work around http://bugs.python.org/issue13721
-        raise error.Abort(_('%s ssl connection error') % host)
     try:
         peercert = sock.getpeercert(True)
         peercert2 = sock.getpeercert()