diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-11-28 16:35:30 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-11-28 16:35:30 +0000 |
commit | 55142b2bb0606e8523cab1824316be549d393ba7 (patch) | |
tree | 3ca70797eefefdb09d900c7b2a76dcd21c2a27eb /src/lib/crypto | |
parent | f1f3262bb12a11512fb3ded480783f32824e818e (diff) | |
download | krb5-55142b2bb0606e8523cab1824316be549d393ba7.tar.gz krb5-55142b2bb0606e8523cab1824316be549d393ba7.tar.xz krb5-55142b2bb0606e8523cab1824316be549d393ba7.zip |
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
Diffstat (limited to 'src/lib/crypto')
-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; |