From 38612f5d6b5eddfdafbc834e5879fa86cf95f128 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Oct 1990 10:05:52 +0000 Subject: [PATCH] add 'const' where needed. cast pointer to sum_func [for the moment...] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1283 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/enc_dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/crypto/des/enc_dec.c b/src/lib/crypto/des/enc_dec.c index d8799afb9..792087d0b 100644 --- a/src/lib/crypto/des/enc_dec.c +++ b/src/lib/crypto/des/enc_dec.c @@ -54,7 +54,7 @@ extern int mit_des_debug; static krb5_error_code mit_des_encrypt_f(DECLARG(krb5_const_pointer, in), DECLARG(krb5_pointer, out), - DECLARG(const_size_t, size), + DECLARG(const size_t, size), DECLARG(krb5_encrypt_block *, key), DECLARG(krb5_pointer, ivec)) OLDDECLARG(krb5_const_pointer, in) @@ -109,7 +109,7 @@ OLDDECLARG(krb5_pointer, ivec) cksum.contents = contents; if (retval = (*krb5_cksumarray[CKSUMTYPE_CRC32]-> - sum_func)(in, + sum_func)((krb5_pointer) in, sumsize, (krb5_pointer)key->key->contents, sizeof(mit_des_cblock), -- 2.26.2