From 4b8ee26c740281c132dfc55cf8cf413867e4ee16 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 20 Mar 1996 02:24:01 +0000 Subject: [PATCH] * 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 --- src/lib/crypto/.Sanitize | 3 +++ src/lib/crypto/ChangeLog | 5 +++++ src/lib/crypto/des_crc.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) 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, -- 2.26.2