X-Git-Url: http://git.kpe.io/?p=md5.git;a=blobdiff_plain;f=md5.lisp;fp=md5.lisp;h=7349948d7b8389abe955293cd8569f4b32b0ef1e;hp=0aac5f60b8beb80506a5b3a523a1279000a2cab2;hb=4af6b44d218425b37b3314aa6de84653a54f3736;hpb=c7461f9c53541862b0262c9164a81b37eac94ba0 diff --git a/md5.lisp b/md5.lisp index 0aac5f6..7349948 100644 --- a/md5.lisp +++ b/md5.lisp @@ -5,7 +5,7 @@ ;;;; cmucl-help mailing-list hosted at cons.org, in November 2001 and ;;;; has been placed into the public domain. ;;;; -;;;; $Id: md5.lisp,v 1.4 2003/05/06 04:57:43 kevin Exp $ +;;;; $Id: md5.lisp,v 1.5 2003/05/06 04:59:21 kevin Exp $ ;;;; ;;;; While the implementation should work on all conforming Common ;;;; Lisp implementations, it has only been optimized for CMU CL, @@ -509,9 +509,10 @@ simple-arrays with such element types." (update-md5-state state sequence :start start :end real-end)) (finalize-md5-state state))) -(defconstant +buffer-size+ (* 128 1024) - "Size of internal buffer to use for md5sum-stream and md5sum-file -operations. This should be a multiple of 64, the MD5 block size.") +(eval-when (:compile-toplevel :load-toplevel :execute) + (defconstant +buffer-size+ (* 128 1024) + "Size of internal buffer to use for md5sum-stream and md5sum-file +operations. This should be a multiple of 64, the MD5 block size.")) (deftype buffer-index () `(integer 0 ,+buffer-size+))