Massive constification.
[openssl.git] / crypto / des / qud_cksm.c
index 93505354a69e7871c7370e1293489c2b12c18103..d5e38c952fce4dbab3483a64138f62eaadec0335 100644 (file)
@@ -83,7 +83,7 @@ des_cblock seed;
        DES_LONG z0,z1,t0,t1;
        int i;
        long l;
-       unsigned char *cp;
+       const unsigned char *cp;
        unsigned char *lp;
 
        if (out_count < 1) out_count=1;
@@ -94,7 +94,7 @@ des_cblock seed;
 
        for (i=0; ((i<4)&&(i<out_count)); i++)
                {
-               cp=(unsigned char *)input;
+               cp=input;
                l=length;
                while (l > 0)
                        {