diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-11-20 20:35:27 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-11-20 20:35:27 +0100 |
commit | fe7a3057a38e896a9c4ad12c831fb84a5d808691 (patch) | |
tree | bcb23e440925fde576409d960a71ee6df320331a /lisp/net/ntlm.el | |
parent | 09f5d05492b6c78421c71858d0d5c4434218b8fc (diff) | |
download | emacs-fe7a3057a38e896a9c4ad12c831fb84a5d808691.tar.gz emacs-fe7a3057a38e896a9c4ad12c831fb84a5d808691.tar.bz2 emacs-fe7a3057a38e896a9c4ad12c831fb84a5d808691.zip |
Fix typos.
Diffstat (limited to 'lisp/net/ntlm.el')
-rw-r--r-- | lisp/net/ntlm.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/net/ntlm.el b/lisp/net/ntlm.el index 25e7a7b43de..9af148e8faa 100644 --- a/lisp/net/ntlm.el +++ b/lisp/net/ntlm.el @@ -102,8 +102,8 @@ is not given." (md4-pack-int16 ld) ;domain field, count field (md4-pack-int16 ld) ;domain field, max count field (md4-pack-int32 (cons 0 off-d)) ;domain field, offset field - user ;bufer field - domain ;bufer field + user ;buffer field + domain ;buffer field ))) (eval-when-compile @@ -207,16 +207,16 @@ by PASSWORD-HASHES. PASSWORD-HASHES should be a return value of ;; buffer field lmRespData ;lmResponse, 24 bytes ntRespData ;ntResponse, 24 bytes - (ntlm-ascii2unicode domain ;unicode domain string, 2*ld bytes + (ntlm-ascii2unicode domain ;Unicode domain string, 2*ld bytes (length domain)) ; - (ntlm-ascii2unicode user ;unicode user string, 2*lu bytes + (ntlm-ascii2unicode user ;Unicode user string, 2*lu bytes (length user)) ; - (ntlm-ascii2unicode user ;unicode user string, 2*lu bytes + (ntlm-ascii2unicode user ;Unicode user string, 2*lu bytes (length user)) ; ))) (defun ntlm-get-password-hashes (password) - "Return a pair of SMB hash and NT MD4 hash of the given password PASSWORD" + "Return a pair of SMB hash and NT MD4 hash of the given password PASSWORD." (list (ntlm-smb-passwd-hash password) (ntlm-md4hash password))) @@ -526,7 +526,7 @@ into a Unicode string. PASSWD is truncated to 128 bytes if longer." (setq len (length passwd)) (if (> len 128) (setq len 128)) - ;; Password must be converted to NT unicode + ;; Password must be converted to NT Unicode (setq wpwd (ntlm-ascii2unicode passwd len)) ;; Calculate length in bytes (setq len (* len 2)) |