mirror of
https://github.com/pmai/md5.git
synced 2025-12-21 22:44:29 +01:00
Add support for external-format in flexi-streams variant.
This commit is contained in:
6
md5.lisp
6
md5.lisp
@ -712,7 +712,11 @@ determined by the underlying implementation."
|
||||
(if (<= char-code-limit 256)
|
||||
(md5sum-sequence string :start start :end end)
|
||||
(md5sum-sequence
|
||||
(flexi-streams:string-to-octets string)))))
|
||||
(flexi-streams:string-to-octets string
|
||||
:external-format
|
||||
(if (eq external-format :default)
|
||||
:UTF-8
|
||||
external-format))))))
|
||||
|
||||
(eval-when (:compile-toplevel :load-toplevel :execute)
|
||||
(defconstant +buffer-size+ (* 128 1024)
|
||||
|
||||
Reference in New Issue
Block a user