Skip to content

Commit

Permalink
Coerce #() to (vector (unsigned-byte 8)) to satisfy SBCL
Browse files Browse the repository at this point in the history
git-archimport-id: mange@freemail.hu--2005/cl-sasl--devo--0.1--patch-20
  • Loading branch information
Magnus Henoch committed Feb 8, 2007
1 parent b4fac7d commit 8b6b654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digest-md5.lisp
Expand Up @@ -28,7 +28,7 @@ as specified in RFC 2831."))
(:start
;; The server goes first, so wait if no input yet
(if (zerop (length server-input))
#()
(coerce #() '(vector (unsigned-byte 8)))
;; XXX: we assume that the challenge is pure ASCII. correct?
(let ((challenge (parse-challenge (map 'string #'code-char server-input))))

Expand Down Expand Up @@ -73,7 +73,7 @@ as specified in RFC 2831."))
(response-value c nil))
(progn
(setf (state c) :success)
#())
(coerce #() '(vector (unsigned-byte 8))))
:failure)))
(:success
(if (eql server-input :success)
Expand Down

0 comments on commit 8b6b654

Please sign in to comment.