Change type of various DES function arguments from des_cblock
[openssl.git] / crypto / mdc2 / mdc2dgst.c
index 8b5314fed8d2221cc9e41f315cfd83fc21e120ab..4fc39ed86cfd22ca2817734ab82acfc2b7f05417 100644 (file)
@@ -134,12 +134,12 @@ static void mdc2_body(MDC2_CTX *c, unsigned char *in, unsigned int len)
                c->h[0]=(c->h[0]&0x9f)|0x40;
                c->hh[0]=(c->hh[0]&0x9f)|0x20;
 
-               des_set_odd_parity(c->h);
-               des_set_key(c->h,k);
+               des_set_odd_parity(&c->h);
+               des_set_key(&c->h,k);
                des_encrypt(d,k,1);
 
-               des_set_odd_parity(c->hh);
-               des_set_key(c->hh,k);
+               des_set_odd_parity(&c->hh);
+               des_set_key(&c->hh,k);
                des_encrypt(dd,k,1);
 
                ttin0=tin0^dd[0];