Open avodonosov opened 7 years ago
This fix in crypto.lisp will work if https://github.com/froydnj/ironclad/pull/84 acceped
(defun vector-md5/b64 (vector)
(base64:usb8-array-to-base64-string
;; Ironclad accepts non-simple arrays ohly on SBCL and CMUCL,
;; according to the ironclad:digest-sequence docstring and code
#+(or sbcl cmu)
(ironclad:digest-sequence :md5 vector)
#-(or sbcl cmu)
(if (typep vector '(simple-array (unsigned-byte 8) (*)))
(ironclad:digest-sequence :md5 vector)
(ironclad:digest-stream :md5 (flexi-streams:make-in-memory-input-stream vector)))))
On quicklisp 2017-02-27 and CCL we observe this failure, caused by ironclad:digest-sequence:
This is somethihg new, on elder quicklisps this error didn't happen.