summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2000-12-10 20:59:35 +0000
committerassar <assar@FreeBSD.org>2000-12-10 20:59:35 +0000
commit1419c7c47afbee75489dfb6986decbbf2ff6c489 (patch)
tree50d0e92d7d5ef6d92e835032ffcc5be7746c4d67 /crypto/kerberosIV
parent01d6566515708f2acac92856724020d5d56e4666 (diff)
parent2fe34f87efd142240e7e03443d7b63f79e6cd8ca (diff)
downloadFreeBSD-src-1419c7c47afbee75489dfb6986decbbf2ff6c489.zip
FreeBSD-src-1419c7c47afbee75489dfb6986decbbf2ff6c489.tar.gz
This commit was generated by cvs2svn to compensate for changes in r69830,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/kerberosIV')
-rw-r--r--crypto/kerberosIV/lib/krb/extra.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/crypto/kerberosIV/lib/krb/extra.c b/crypto/kerberosIV/lib/krb/extra.c
index c90767e..0668e17 100644
--- a/crypto/kerberosIV/lib/krb/extra.c
+++ b/crypto/kerberosIV/lib/krb/extra.c
@@ -70,30 +70,6 @@ define_variable(const char *variable, const char *value)
#ifndef WIN32
-struct obsolete {
- const char *from;
- const char *to;
-} obsolete [] = {
- { "KDC_TIMESYNC", "kdc_timesync" },
- { "KRB_REVERSE_DIRECTION", "reverse_lsb_test"},
- { "krb4_proxy", "krb4_proxy"},
- { NULL, NULL }
-};
-
-static void
-check_obsolete(void)
-{
- struct obsolete *r;
- for(r = obsolete; r->from; r++) {
- if(getenv(r->from)) {
- krb_warning("The environment variable `%s' is obsolete;\n"
- "set `%s' in your `krb.extra' file instead\n",
- r->from, r->to);
- define_variable(r->to, getenv(r->from));
- }
- }
-}
-
static int
read_extra_file(void)
{
@@ -103,7 +79,6 @@ read_extra_file(void)
if(_krb_extra_read)
return 0;
_krb_extra_read = 1;
- check_obsolete();
while(krb_get_krbextra(i++, file, sizeof(file)) == 0) {
FILE *f = fopen(file, "r");
if(f == NULL)
OpenPOWER on IntegriCloud