summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-12-21 08:45:17 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-12-21 08:45:17 +0000
commit5533fcda301df554c70c79c234f37063e5110534 (patch)
tree4fe495a757770c3319bd7d22d2b42617c1ff7ce1 /lib
parent365f757cec995caa109358da81d9b269f974c9b9 (diff)
#ifdef KRB4 the des_quad_cksum for DES keys hack. Needs reexamination.
Diffstat (limited to 'lib')
-rw-r--r--lib/ZCkZAut.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ZCkZAut.c b/lib/ZCkZAut.c
index 7411bd6..b957474 100644
--- a/lib/ZCkZAut.c
+++ b/lib/ZCkZAut.c
@@ -111,6 +111,8 @@ Code_t ZCheckZcodeAuthentication(ZNotice_t *notice,
cksum2_base = notice->z_message;
cksum2_len = notice->z_message_len;
+#ifdef HAVE_KRB4 /* XXX this is probably a mistake for krb5 clients in mixed
+ realms? */
if ((!notice->z_ascii_checksum || *notice->z_ascii_checksum != 'Z') &&
key_len == 8 &&
(enctype == ENCTYPE_DES_CBC_CRC ||
@@ -128,6 +130,7 @@ Code_t ZCheckZcodeAuthentication(ZNotice_t *notice,
}
}
/* HOLDING: creds */
+#endif
cksumbuf.length = cksum0_len + cksum1_len + cksum2_len;
cksumbuf.data = malloc(cksumbuf.length);