summaryrefslogtreecommitdiff
path: root/lib/ZGetSender.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 /lib/ZGetSender.c
parent304bb68ebcb9682d28b41d86d59e9ac5f9d7d4a3 (diff)
ZEPHYR_USES_KERBEROS -> HAVE_KRB4; ZEPHYR_USES_HESIOD -> HAVE_HESIOD
Diffstat (limited to 'lib/ZGetSender.c')
-rw-r--r--lib/ZGetSender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZGetSender.c b/lib/ZGetSender.c
index 4b8d0ba..7b75c89 100644
--- a/lib/ZGetSender.c
+++ b/lib/ZGetSender.c
@@ -24,7 +24,7 @@ static const char rcsid_ZGetSender_c[] =
char *ZGetSender()
{
struct passwd *pw;
-#ifdef ZEPHYR_USES_KERBEROS
+#ifdef HAVE_KRB4
char pname[ANAME_SZ], pinst[INST_SZ], prealm[REALM_SZ];
static char sender[ANAME_SZ+INST_SZ+REALM_SZ+3] = "";
#else
@@ -35,7 +35,7 @@ char *ZGetSender()
if (*sender)
return (sender);
-#ifdef ZEPHYR_USES_KERBEROS
+#ifdef HAVE_KRB4
if (krb_get_tf_fullname((char *)TKT_FILE, pname, pinst, prealm) == KSUCCESS)
{
(void) sprintf(sender, "%s%s%s@%s", pname, (pinst[0]?".":""),