diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | kerberos.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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); |