From b4071d8bfe2235742cf8c81e2666aa5cce083e45 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 3 May 1995 02:31:53 +0000 Subject: [PATCH] nevermind.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5695 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 7 ------- src/lib/krb5/os/get_krbhst.c | 18 ------------------ 2 files changed, 25 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index fd1eaf908..9ee5d941b 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,10 +1,3 @@ -Tue May 2 20:51:14 1995 Mark Eichin - - * get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDC - (KERBEROS_SERVER) for a REALM:SERVER string. This overrides - anything else for that realm and is intended for un-installed - client use, testsuite use, and diagnostic use. - Mon May 1 17:05:21 1995 Ezra Peisach * init_os_ctx.c (krb5_set_config_files): Added required const to diff --git a/src/lib/krb5/os/get_krbhst.c b/src/lib/krb5/os/get_krbhst.c index ba0f878b0..2a0042bbb 100644 --- a/src/lib/krb5/os/get_krbhst.c +++ b/src/lib/krb5/os/get_krbhst.c @@ -77,24 +77,6 @@ krb5_get_krbhst(context, realm, hostlist) * case. */ - cp = getenv(KRB5_ENV_KDC); - /* Format is REALM:SERVER */ - if (cp != NULL - && strncmp (realm->data, cp, realm->length) == 0 - && cp[realm->length] == ':') { - rethlist = (char **)calloc(2, sizeof (*rethlist)); - if (rethlist == NULL) - return ENOMEM; - rethlist[0] = strdup(cp + realm->length + 1); - if (rethlist[0] == NULL) { - krb5_xfree(rethlist); - return ENOMEM; - } - rethlist[1] = NULL; - *hostlist = rethlist; - return 0; - } - krb5_find_config_files(); if (!(config_file = fopen(krb5_config_file, "r"))) /* can't open */ -- 2.26.2