Keep invariant that profile_in_memory member of context
authorDanilo Almeida <dalmeida@mit.edu>
Thu, 5 Aug 1999 20:37:59 +0000 (20:37 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Thu, 5 Aug 1999 20:37:59 +0000 (20:37 +0000)
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
src/include/k5-int.h

index 2eabec10075599ae0e1381e03ed7ddf5cd25d8d0..453d67a5d1c8d5964a6db229efca18db30fc608e 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-04  Danilo Almeida  <dalmeida@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * krb5.hin: Wrap all declarations in `extern "C"' for C++, not
index 2f7fb7f4f2bc9cb8e9bd61cb163516b8dd5d8844..709d86631be8072436c4c3b249c19b618510aa86 100644 (file)
@@ -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 */