diff options
Diffstat (limited to 'src/lib/crypto/des')
-rw-r--r-- | src/lib/crypto/des/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/crypto/des/des_int.h | 2 | ||||
-rw-r--r-- | src/lib/crypto/des/f_ecb.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index 0d72e4b2d0..b28c36db7a 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 <epeisach@kangaroo.mit.edu> + + * 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 a8938807a8..5a82ff68fa 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 dda76d7cc4..3b60cae151 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; |