aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--kerberos.c4
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 <com_err.h> 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);