From: Ezra Peisach Date: Thu, 21 Jun 2001 13:41:21 +0000 (+0000) Subject: * verify.c (do_decrypt, do_encrypt): Cast argument to X-Git-Tag: krb5-1.3-alpha1~1345 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4160e3677bc44309331b2d8afc93a26f4e211184;p=krb5.git * verify.c (do_decrypt, do_encrypt): Cast argument to des_ecb_encrypt to unsigned long *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13441 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index cb88239d9..bff9c8330 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,8 @@ +2001-06-21 Ezra Peisach + + * verify.c (do_decrypt, do_encrypt): Cast argument to + des_ecb_encrypt to unsigned long *. + 2001-05-31 Ezra Peisach * des.c (des_ecb_encrypt): Do not use a variable named "encrypt". diff --git a/src/lib/des425/verify.c b/src/lib/des425/verify.c index cb141b06c..91718e350 100644 --- a/src/lib/des425/verify.c +++ b/src/lib/des425/verify.c @@ -287,7 +287,7 @@ do_encrypt(in,out) unsigned char *out; { for (i =1; i<=nflag; i++) { - des_ecb_encrypt(in,out,KS,1); + des_ecb_encrypt((unsigned long *) in, (unsigned long *)out, KS, 1); if (des_debug) { printf("\nclear %s\n",in); for (j = 0; j<=7; j++) @@ -306,7 +306,7 @@ do_decrypt(in,out) /* try to invert it */ { for (i =1; i<=nflag; i++) { - des_ecb_encrypt(out,in,KS,0); + des_ecb_encrypt((unsigned long *) out, (unsigned long *)in,KS,0); if (des_debug) { printf("clear %s\n",in); for (j = 0; j<=7; j++)