mirror of
https://github.com/pmai/md5.git
synced 2025-12-22 15:04:29 +01:00
Compare commits
4 Commits
release-2.
...
release-2.
| Author | SHA1 | Date | |
|---|---|---|---|
| 2752a77c70 | |||
| 615b231bfb | |||
| b7aace4262 | |||
| 3c51661bd8 |
7
NEWS
7
NEWS
@ -1,3 +1,10 @@
|
|||||||
|
Release 2.0.3
|
||||||
|
=============
|
||||||
|
|
||||||
|
* Add support for md5sum-string for other implementations through
|
||||||
|
through flexi-streams. Patch supplied by Daniel Kochmanski.
|
||||||
|
|
||||||
|
|
||||||
Release 2.0.2
|
Release 2.0.2
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|||||||
8
md5.asd
8
md5.asd
@ -14,6 +14,10 @@
|
|||||||
:author "Pierre R. Mai <pmai@pmsf.de>"
|
:author "Pierre R. Mai <pmai@pmsf.de>"
|
||||||
:maintainer "Pierre R. Mai <pmai@pmsf.de>"
|
:maintainer "Pierre R. Mai <pmai@pmsf.de>"
|
||||||
:licence "Public Domain"
|
:licence "Public Domain"
|
||||||
:version "2.0.2"
|
:version "2.0.3"
|
||||||
#+sbcl :depends-on #+sbcl ("sb-rotate-byte")
|
:depends-on (#+sbcl "sb-rotate-byte"
|
||||||
|
#-(or :cmu :sbcl
|
||||||
|
(and :lispworks (not :lispworks4))
|
||||||
|
:ccl :allegro)
|
||||||
|
"flexi-streams")
|
||||||
:components ((:file "md5")))
|
:components ((:file "md5")))
|
||||||
|
|||||||
7
md5.lisp
7
md5.lisp
@ -711,7 +711,12 @@ determined by the underlying implementation."
|
|||||||
#-(or :cmu :sbcl (and :lispworks (not :lispworks4)) :ccl :allegro)
|
#-(or :cmu :sbcl (and :lispworks (not :lispworks4)) :ccl :allegro)
|
||||||
(if (<= char-code-limit 256)
|
(if (<= char-code-limit 256)
|
||||||
(md5sum-sequence string :start start :end end)
|
(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
|
||||||
|
:external-format
|
||||||
|
(if (eq external-format :default)
|
||||||
|
:UTF-8
|
||||||
|
external-format))))))
|
||||||
|
|
||||||
(eval-when (:compile-toplevel :load-toplevel :execute)
|
(eval-when (:compile-toplevel :load-toplevel :execute)
|
||||||
(defconstant +buffer-size+ (* 128 1024)
|
(defconstant +buffer-size+ (* 128 1024)
|
||||||
|
|||||||
Reference in New Issue
Block a user