diff options
author | Greg Hudson <ghudson@mit.edu> | 1997-10-25 17:47:11 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1997-10-25 17:47:11 +0000 |
commit | 2b03e82ddfe5797dab4a2811cb2755a2b7cc45b7 (patch) | |
tree | 337a1256ea163b161c0f66b3b33fe3d88af74fc0 /server/subscr.c | |
parent | 304bb68ebcb9682d28b41d86d59e9ac5f9d7d4a3 (diff) |
ZEPHYR_USES_KERBEROS -> HAVE_KRB4; ZEPHYR_USES_HESIOD -> HAVE_HESIOD
Diffstat (limited to 'server/subscr.c')
-rw-r--r-- | server/subscr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/subscr.c b/server/subscr.c index c305c70..140cdf0 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -61,7 +61,7 @@ static const char rcsid_subscr_c[] = "$Id$"; * */ -#ifdef ZEPHYR_USES_KERBEROS +#ifdef HAVE_KRB4 #ifndef NOENCRYPTION C_Block serv_key; Sched serv_ksched; @@ -839,10 +839,10 @@ subscr_send_subs(client) { int i = 0; Destlist *subs; -#ifdef ZEPHYR_USES_KERBEROS +#ifdef HAVE_KRB4 char buf[512]; C_Block cblock; -#endif /* ZEPHYR_USES_KERBEROS */ +#endif /* HAVE_KRB4 */ char buf2[512]; char *list[7 * NUM_FIELDS]; int num = 0; @@ -855,7 +855,7 @@ subscr_send_subs(client) list[num++] = buf2; -#ifdef ZEPHYR_USES_KERBEROS +#ifdef HAVE_KRB4 #ifdef NOENCRYPTION memcpy(cblock, client->session_key, sizeof(C_Block)); #else @@ -873,7 +873,7 @@ subscr_send_subs(client) zdbug((LOG_DEBUG, "cblock %s", buf)); #endif } -#endif /* ZEPHYR_USES_KERBEROS */ +#endif /* HAVE_KRB4 */ retval = bdump_send_list_tcp(SERVACK, &client->addr, ZEPHYR_ADMIN_CLASS, num > 1 ? "CBLOCK" : "", ADMIN_NEWCLT, client->principal->string, "", list, num); |