From 8940310df0a7c935ae8e6e73032e9b8485123888 Mon Sep 17 00:00:00 2001 From: Danilo Almeida Date: Thu, 5 Aug 1999 20:37:59 +0000 Subject: [PATCH] Keep invariant that profile_in_memory member of context is only sensible if KRB5_DNS_LOOKUP is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11627 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/k5-int.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 2eabec100..453d67a5d 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +1999-08-04 Danilo Almeida + + * k5-int.h: Keep invariant that profile_in_memory member of context + is only sensible if KRB5_DNS_LOOKUP is defined. + 1999-08-03 Ken Raeburn * krb5.hin: Wrap all declarations in `extern "C"' for C++, not diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 2f7fb7f4f..709d86631 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -990,7 +990,9 @@ struct _krb5_context { krb5_boolean profile_secure; int fcc_default_format; int scc_default_format; +#ifdef KRB5_DNS_LOOKUP krb5_boolean profile_in_memory; +#endif /* KRB5_DNS_LOOKUP */ }; /* could be used in a table to find an etype and initialize a block */ -- 2.26.2