summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1997-10-25 17:47:11 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1997-10-25 17:47:11 +0000
commit2b03e82ddfe5797dab4a2811cb2755a2b7cc45b7 (patch)
tree337a1256ea163b161c0f66b3b33fe3d88af74fc0 /server/dispatch.c
parent304bb68ebcb9682d28b41d86d59e9ac5f9d7d4a3 (diff)
ZEPHYR_USES_KERBEROS -> HAVE_KRB4; ZEPHYR_USES_HESIOD -> HAVE_HESIOD
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index 084a1bc..5523e1b 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -599,7 +599,7 @@ xmit(notice, dest, auth, client)
we are distributing authentic and
we have a pointer to auth info
*/
-#ifdef ZEPHYR_USES_KERBEROS
+#ifdef HAVE_KRB4
retval = ZFormatAuthenticNotice(notice, noticepack, packlen, &packlen,
client->session_key);
if (retval != ZERR_NONE) {
@@ -607,7 +607,7 @@ xmit(notice, dest, auth, client)
free(noticepack);
return;
}
-#else /* !ZEPHYR_USES_KERBEROS */
+#else /* !HAVE_KRB4 */
notice->z_auth = 1;
retval = ZFormatSmallRawNotice(notice, noticepack, &packlen);
if (retval != ZERR_NONE) {
@@ -615,7 +615,7 @@ xmit(notice, dest, auth, client)
free(noticepack);
return;
}
-#endif /* ZEPHYR_USES_KERBEROS */
+#endif /* HAVE_KRB4 */
} else {
notice->z_auth = 0;
notice->z_authent_len = 0;
@@ -1023,7 +1023,7 @@ control_dispatch(notice, auth, who, server)
clt_ack(notice, who, AUTH_FAILED);
return ZERR_NONE;
}
-#ifdef ZEPHYR_USES_KERBEROS
+#ifdef HAVE_KRB4
/* in case it's changed */
memcpy(client->session_key, ZGetSession(), sizeof(C_Block));
#endif