mercurial/sslutil.py
changeset 26622 9e15286609ae
parent 26587 56b2bcea2529
child 27688 6c7d26cef0cd
--- a/mercurial/sslutil.py	Sun Oct 11 23:58:07 2015 -0700
+++ b/mercurial/sslutil.py	Tue Sep 29 16:17:32 2015 -0700
@@ -16,6 +16,8 @@
 from .i18n import _
 from . import error, util
 
+hassni = getattr(ssl, 'HAS_SNI', False)
+
 _canloaddefaultcerts = False
 try:
     ssl_context = ssl.SSLContext