* des_crc.c, des_md5.c, raw_des.c: Remove casting in call to
authorEzra Peisach <epeisach@mit.edu>
Sat, 26 Aug 1995 17:09:07 +0000 (17:09 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 26 Aug 1995 17:09:07 +0000 (17:09 +0000)
mit_des_cbc_encrypt.

Fixing headers in crypto/des to pass -fmissing_prototypes complaints.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6597 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/des_crc.c
src/lib/crypto/des_md5.c
src/lib/crypto/raw_des.c

index ac59882f1b7a66a73a0cf4ad47528bb51d480600..ad0195ad6da757442fed24ce4aed1d76f07fc675 100644 (file)
@@ -1,3 +1,7 @@
+Thu Aug 24 17:55:47 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * des_crc.c, des_md5.c, raw_des.c: Remove casting in call to
+               mit_des_cbc_encrypt. 
 
 Thu Jul 27 15:15:46 EDT 1995   Paul Park       (pjpark@mit.edu)
        * configure.in - Add --enable-{des-cbc-md5,des-cbc-crc,raw-des-cbc,
index 75bf94d817182f6bf3c8573cad7127d659409289..f6c5d2250610457e6344efb2242be5c9fc918805 100644 (file)
@@ -140,8 +140,8 @@ 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,
-                                (mit_des_cblock FAR *) out,
+    retval = mit_des_cbc_encrypt(in,
+                                out,
                                 size,
                                 (struct mit_des_ks_struct *) key->priv,
                                 ivec ? ivec : (krb5_pointer)key->key->contents,
index 7b846e0f32dc2be11bb365d9ed7f496ef8b5ebbd..c84d958ca762457172a4f60959912651b736f911 100644 (file)
@@ -141,7 +141,7 @@ mit_des_md5_decrypt_func(in, out, size, key, ivec)
     if ( size < 2*sizeof(mit_des_cblock) )
        return KRB5_BAD_MSIZE;
 
-    retval = mit_des_cbc_encrypt((const mit_des_cblock *) in,
+    retval = mit_des_cbc_encrypt(in,
                                 out,
                                 size,
                                 (struct mit_des_ks_struct *) key->priv,
index 8bb889abc9c67aeaa544170272f04574b632af36..9922dbf285814067b37784c35e8f8461bb7f7c4f 100644 (file)
@@ -63,7 +63,7 @@ mit_raw_des_decrypt_func(in, out, size, key, ivec)
     krb5_encrypt_block * key;
     krb5_pointer ivec;
 {
-    return (mit_des_cbc_encrypt ((const mit_des_cblock *) in, 
+    return (mit_des_cbc_encrypt (in, 
                                 out, 
                                 size, 
                                 (struct mit_des_ks_struct *)key->priv,