From b6487d6951ac8b6c71477f310629bdf856980273 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 19 Nov 1997 04:37:49 +0000 Subject: [PATCH] * quad_cksum.c (des_quad_cksum): Reorder parameters to match the prototype in include/kerberosIV/des.h. * pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the ivec to match the prototype in include/kerberosIV/des.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10294 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/des425/ChangeLog | 6 ++++++ src/lib/des425/pcbc_encrypt.c | 2 +- src/lib/des425/quad_cksum.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index e17340ba0..3486d9127 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,5 +1,11 @@ Tue Nov 18 18:57:07 1997 Tom Yu + * quad_cksum.c (des_quad_cksum): Reorder parameters to match the + prototype in include/kerberosIV/des.h. + + * pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the + ivec to match the prototype in include/kerberosIV/des.h. + * Makefile.in: Garbage collect some old library build system stuff. diff --git a/src/lib/des425/pcbc_encrypt.c b/src/lib/des425/pcbc_encrypt.c index c4972fc0b..3f48fef4e 100644 --- a/src/lib/des425/pcbc_encrypt.c +++ b/src/lib/des425/pcbc_encrypt.c @@ -27,7 +27,7 @@ des_pcbc_encrypt(in, out, length, schedule, ivec, encrypt) des_cblock *out; long length; des_key_schedule schedule; - des_cblock ivec; + des_cblock *ivec; int encrypt; { register unsigned DES_INT32 left, right; diff --git a/src/lib/des425/quad_cksum.c b/src/lib/des425/quad_cksum.c index 0f92c56f0..73e2af2b7 100644 --- a/src/lib/des425/quad_cksum.c +++ b/src/lib/des425/quad_cksum.c @@ -107,11 +107,11 @@ extern int des_debug; KRB5_DLLIMP unsigned long KRB5_CALLCONV des_quad_cksum(in,out,length,out_count,c_seed) - mit_des_cblock FAR *c_seed; /* secret seed, 8 bytes */ unsigned char FAR *in; /* input block */ unsigned DES_INT32 FAR *out; /* optional longer output */ - int out_count; /* number of iterations */ long length; /* original length in bytes */ + int out_count; /* number of iterations */ + mit_des_cblock FAR *c_seed; /* secret seed, 8 bytes */ { /* -- 2.26.2