From 2b03e82ddfe5797dab4a2811cb2755a2b7cc45b7 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 25 Oct 1997 17:47:11 +0000 Subject: ZEPHYR_USES_KERBEROS -> HAVE_KRB4; ZEPHYR_USES_HESIOD -> HAVE_HESIOD --- server/dispatch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/dispatch.c') 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 -- cgit v1.2.3