From: Ezra Peisach Date: Tue, 28 Nov 1995 16:35:30 +0000 (+0000) Subject: f_ecb.c, des_int.h (mit_des_ecb_encrypt): Add const declaration to input X-Git-Tag: krb5-1.0-beta6~770 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=55142b2bb0606e8523cab1824316be549d393ba7;p=krb5.git f_ecb.c, des_int.h (mit_des_ecb_encrypt): Add const declaration to input cblock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7137 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index 0d72e4b2d..b28c36db7 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 28 11:24:26 1995 Ezra Peisach + + * f_ecb.c, des_int.h (mit_des_ecb_encrypt): Add const declaration + to input cblock. + Thu Nov 09 17:05:57 1995 Chris Provenzano (proven@mit.edu) * string2key.c : Remove krb5_enctype from krb5_string_to_key() args. diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index a8938807a..5a82ff68f 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -107,7 +107,7 @@ extern unsigned long mit_des_cbc_cksum /* f_ecb.c */ extern int mit_des_ecb_encrypt - PROTOTYPE((mit_des_cblock FAR *, mit_des_cblock FAR *, mit_des_key_schedule , int )); + PROTOTYPE((const mit_des_cblock FAR *, mit_des_cblock FAR *, mit_des_key_schedule , int )); /* f_cbc.c */ extern int mit_des_cbc_encrypt diff --git a/src/lib/crypto/des/f_ecb.c b/src/lib/crypto/des/f_ecb.c index dda76d7cc..3b60cae15 100644 --- a/src/lib/crypto/des/f_ecb.c +++ b/src/lib/crypto/des/f_ecb.c @@ -19,7 +19,7 @@ */ int mit_des_ecb_encrypt(in, out, schedule, encrypt) - mit_des_cblock *in; + const mit_des_cblock *in; mit_des_cblock *out; mit_des_key_schedule schedule; int encrypt;