aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-05-14 15:40:50 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-05-14 15:40:50 +0000
commitac6ed0c6e445cc654f0b3b59dff38ea3b3f1ec0e (patch)
treea034d6ccf4db9b7175b9830f802c82afd021e1d2
parent79e020ff5c9a81232cc2bd72e3f1045432926eea (diff)
downloadfetchmail-ac6ed0c6e445cc654f0b3b59dff38ea3b3f1ec0e.tar.gz
fetchmail-ac6ed0c6e445cc654f0b3b59dff38ea3b3f1ec0e.tar.bz2
fetchmail-ac6ed0c6e445cc654f0b3b59dff38ea3b3f1ec0e.zip
Fix des_pcbc_encrypt compile warnings in kerberos.c line 246.
svn path=/branches/BRANCH_6-3/; revision=4830
-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);