aboutsummaryrefslogtreecommitdiffstats
path: root/kerberos.c
diff options
context:
space:
mode:
Diffstat (limited to 'kerberos.c')
-rw-r--r--kerberos.c4
1 files changed, 2 insertions, 2 deletions
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);