mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix compilation warnings in rfc2104
* lisp/net/rfc2104.el (rfc2104-hash): Remove superflous calls to string-make-unibyte and avoid two compilation warnings.
This commit is contained in:
parent
73ab8f4b8c
commit
c717a5bf53
1 changed files with 2 additions and 3 deletions
|
|
@ -99,8 +99,7 @@
|
|||
(aset ipad i (logxor rfc2104-ipad c))
|
||||
(aset opad i (logxor rfc2104-opad c)))
|
||||
;; Perform inner hash.
|
||||
(setq partial (string-make-unibyte
|
||||
(funcall hash (concat ipad text))))
|
||||
(setq partial (funcall hash (concat ipad text)))
|
||||
;; Pack latter part of opad.
|
||||
(cl-do ((r 0 (+ 2 r))
|
||||
(w block-length (1+ w)))
|
||||
|
|
@ -109,7 +108,7 @@
|
|||
(+ (* 16 (aref rfc2104-nybbles (aref partial r)))
|
||||
( aref rfc2104-nybbles (aref partial (1+ r))))))
|
||||
;; Perform outer hash.
|
||||
(string-make-unibyte (funcall hash opad))))
|
||||
(funcall hash opad)))
|
||||
|
||||
(provide 'rfc2104)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue