From b7971d3591444019585e6d52c94b170dae3506f3 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Tue, 18 Oct 1994 19:51:53 +0000 Subject: [PATCH] * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to krb5_pointer to satisfy sunos cc about :? argument types. (mit_des_crc_encrypt_funct): ditto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4531 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/ChangeLog | 6 ++++++ src/lib/crypto/des-crc.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index 755d23023..96ca8d86e 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,3 +1,9 @@ +Tue Oct 18 15:46:01 1994 Mark Eichin (eichin@cygnus.com) + + * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to + krb5_pointer to satisfy sunos cc about :? argument types. + (mit_des_crc_encrypt_funct): ditto. + Fri Oct 14 00:37:08 1994 Theodore Y. Ts'o (tytso@dcl) * cryptoconf.c: Add support for the new cryptosystem DES/MD5. diff --git a/src/lib/crypto/des-crc.c b/src/lib/crypto/des-crc.c index 5b8a47589..26d7ca2c2 100644 --- a/src/lib/crypto/des-crc.c +++ b/src/lib/crypto/des-crc.c @@ -126,7 +126,7 @@ OLDDECLARG(krb5_pointer, ivec) out, sumsize, (struct mit_des_ks_struct *) key->priv, - ivec ? ivec : key->key->contents, + ivec ? ivec : (krb5_pointer)key->key->contents, MIT_DES_ENCRYPT)); } @@ -156,7 +156,7 @@ OLDDECLARG(krb5_pointer, ivec) out, size, (struct mit_des_ks_struct *) key->priv, - ivec ? ivec : key->key->contents, + ivec ? ivec : (krb5_pointer)key->key->contents, MIT_DES_DECRYPT); if (retval) return retval; -- 2.26.2