From 55142b2bb0606e8523cab1824316be549d393ba7 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 28 Nov 1995 16:35:30 +0000 Subject: [PATCH] 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 --- src/lib/crypto/des/ChangeLog | 5 +++++ src/lib/crypto/des/des_int.h | 2 +- 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 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; -- 2.26.2