1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- plugins/kerberos4.c.orig Wed Apr 19 11:18:48 2000
+++ plugins/kerberos4.c Sat Sep 16 18:49:20 2000
@@ -696,8 +696,13 @@
/* decrypt; verify checksum */
+#ifdef __FreeBSD__
+ des_pcbc_encrypt((const unsigned char *)in,
+ (unsigned char *)in,
+#else
des_pcbc_encrypt((des_cblock *)in,
(des_cblock *)in,
+#endif
clientinlen,
text->init_keysched,
&text->session,
@@ -1192,8 +1197,13 @@
}
sout[len]=0;
+#ifdef __FreeBSD__
+ des_pcbc_encrypt((const unsigned char *)sout,
+ (unsigned char *)sout,
+#else
des_pcbc_encrypt((des_cblock *)sout,
(des_cblock *)sout,
+#endif
len,
text->init_keysched,
(des_cblock *)text->session,
|