From ac6ed0c6e445cc654f0b3b59dff38ea3b3f1ec0e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 14 May 2006 15:40:50 +0000 Subject: Fix des_pcbc_encrypt compile warnings in kerberos.c line 246. svn path=/branches/BRANCH_6-3/; revision=4830 --- NEWS | 1 + kerberos.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 4a5469f5..757a00d0 100644 --- a/NEWS +++ b/NEWS @@ -62,6 +62,7 @@ fetchmail 6.3.5 (not yet released): * On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled. * Drop #include from Kerberos 5 header file, fixes compile error on SUSE Linux 10.0. +* Fix des_pcbc_encrypt compile warnings in kerberos.c line 246. # CHANGES: * Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes diff --git a/kerberos.c b/kerberos.c index 0eb51477..a57616a8 100644 --- a/kerberos.c +++ b/kerberos.c @@ -241,8 +241,8 @@ int do_rfc1731(int sock, char *command, char *truename) while (authenticator.length & 7) { authenticator.length++; } - des_pcbc_encrypt((des_cblock *)authenticator.dat, - (des_cblock *)authenticator.dat, authenticator.length, schedule, + des_pcbc_encrypt((const unsigned char *)authenticator.dat, + (unsigned char *)authenticator.dat, authenticator.length, schedule, &session, 1); to64frombits(buf1, authenticator.dat, authenticator.length); -- cgit v1.2.3