From: Ezra Peisach Date: Wed, 20 Mar 1996 02:24:01 +0000 (+0000) Subject: * des_crc.c (mit_des_crc_decrypt_func): Add const to pointer X-Git-Tag: krb5-1.0-beta6~324 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4b8ee26c740281c132dfc55cf8cf413867e4ee16;p=krb5.git * des_crc.c (mit_des_crc_decrypt_func): Add const to pointer cast for suncc warning. Update .Saintize as well to reflect reality git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7678 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/.Sanitize b/src/lib/crypto/.Sanitize index f1f08c042..6db64126f 100644 --- a/src/lib/crypto/.Sanitize +++ b/src/lib/crypto/.Sanitize @@ -30,9 +30,12 @@ configure configure.in crc32 cryptoconf.c +decrypt_data.c des +des3_md5.c des_crc.c des_md5.c +encrypt_data.c md4 md5 os diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index e72ad10b1..18eae6437 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 11 10:59:40 1996 Ezra Peisach + + * des_crc.c (mit_des_crc_decrypt_func): Add const to pointer + cast for suncc warning. + Wed Feb 7 00:23:18 1996 Theodore Y. Ts'o * Makefile.in: Folded in danw's changes to allow diff --git a/src/lib/crypto/des_crc.c b/src/lib/crypto/des_crc.c index 80bda0c65..b1a93dea4 100644 --- a/src/lib/crypto/des_crc.c +++ b/src/lib/crypto/des_crc.c @@ -139,7 +139,7 @@ mit_des_crc_decrypt_func(in, out, size, key, ivec) if ( size < 2*sizeof(mit_des_cblock) ) return KRB5_BAD_MSIZE; - retval = mit_des_cbc_encrypt((mit_des_cblock FAR *) in, + retval = mit_des_cbc_encrypt((const mit_des_cblock FAR *) in, out, size, (struct mit_des_ks_struct *) key->priv,