Fix quad checksum bug.
[openssl.git] / crypto / des / qud_cksm.c
index 4d5301c..9350535 100644 (file)
@@ -133,7 +133,7 @@ des_cblock seed;
                                }
                        else
                                {
-                               lp=&output[out_count-i-1];
+                               lp=&output[(out_count-i-1)*8];
                                l2n(z1,lp);
                                l2n(z0,lp);
                                }