mirror of
https://github.com/pmai/md5.git
synced 2025-12-21 22:44:29 +01:00
Add support for other implementations (flexi-streams dependency).
This commit is contained in:
3
md5.lisp
3
md5.lisp
@ -711,7 +711,8 @@ determined by the underlying implementation."
|
||||
#-(or :cmu :sbcl (and :lispworks (not :lispworks4)) :ccl :allegro)
|
||||
(if (<= char-code-limit 256)
|
||||
(md5sum-sequence string :start start :end end)
|
||||
(error "md5:md5sum-string is not supported for your implementation."))))
|
||||
(md5sum-sequence
|
||||
(flexi-streams:string-to-octets string)))))
|
||||
|
||||
(eval-when (:compile-toplevel :load-toplevel :execute)
|
||||
(defconstant +buffer-size+ (* 128 1024)
|
||||
|
||||
Reference in New Issue
Block a user