From fac706f6786fba5f1173151f2d36469889979f45 Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Sun, 14 Oct 2012 22:51:51 +0200 Subject: [PATCH] Fix portable implementation of i (via sbcl and cl-md5). --- md5.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md5.lisp b/md5.lisp index 4de5801..c7d36fc 100644 --- a/md5.lisp +++ b/md5.lisp @@ -109,7 +109,7 @@ where a is the intended low-order byte and d the high-order byte." #+cmu (kernel:32bit-logical-xor y (kernel:32bit-logical-orc2 x z)) #-cmu - (logxor y (logorc2 x z))) + (ldb (byte 32 0) (logxor y (logorc2 x z)))) (declaim (inline mod32+) (ftype (function (ub32 ub32) ub32) mod32+))