diff mercurial/sslutil.py @ 30332:318a24b52eeb

spelling: fixes of non-dictionary words
author Mads Kiilerich <madski@unity3d.com>
date Mon, 17 Oct 2016 23:16:55 +0200
parents b9f7b0c10027
children d524c88511a7
line wrap: on
line diff
--- a/mercurial/sslutil.py	Thu Nov 03 17:31:14 2016 -0700
+++ b/mercurial/sslutil.py	Mon Oct 17 23:16:55 2016 +0200
@@ -638,7 +638,7 @@
                 # According to RFC 2818 the most specific Common Name must
                 # be used.
                 if key == 'commonName':
-                    # 'subject' entries are unicide.
+                    # 'subject' entries are unicode.
                     try:
                         value = value.encode('ascii')
                     except UnicodeEncodeError:
@@ -764,7 +764,7 @@
     return None
 
 def validatesocket(sock):
-    """Validate a socket meets security requiremnets.
+    """Validate a socket meets security requirements.
 
     The passed socket must have been created with ``wrapsocket()``.
     """