From 4e31df2cd73dbb659fd8a6eca6270fac661c072d Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 13 Feb 1999 18:52:38 +0000 Subject: Fix ghastly DES declarations, and all consequential warnings. --- crypto/mdc2/mdc2dgst.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crypto/mdc2') diff --git a/crypto/mdc2/mdc2dgst.c b/crypto/mdc2/mdc2dgst.c index 2a086c0..72a0c76 100644 --- a/crypto/mdc2/mdc2dgst.c +++ b/crypto/mdc2/mdc2dgst.c @@ -135,35 +135,35 @@ unsigned int len; register DES_LONG tin0,tin1; register DES_LONG ttin0,ttin1; DES_LONG d[2],dd[2]; - des_cblock *h,*hh; + unsigned char *h,*hh; des_key_schedule k; unsigned char *p; unsigned int i; - h= (des_cblock *)&(c->h[0]); - hh= (des_cblock *)&(c->hh[0]); + h= c->h; + hh= c->hh; for (i=0; i