diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-01-23 22:03:10 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-01-23 22:03:10 +1100 |
commit | 3c78c5ed2fd12785842bbb9e3bd030fab19a9221 (patch) | |
tree | 5dd057f81dc6f9ea0da07919cac74bf401580696 /session.c | |
parent | 6369958301f0184c95988f8c87a5494bab0bb0c6 (diff) |
- (dtucker) [acconfig.h configure.ac includes.h servconf.c session.c]
Change AFS symbol to USE_AFS to prevent namespace collisions, do not
include kafs.h unless necessary. From deengert at anl.gov.
For consistency, all of the libkafs bits are now inside "#if defined(KRB5)
&& defined(USE_AFS)".
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,7 +58,7 @@ RCSID("$OpenBSD: session.c,v 1.171 2004/01/13 19:23:15 markus Exp $"); | |||
58 | #include "session.h" | 58 | #include "session.h" |
59 | #include "monitor_wrap.h" | 59 | #include "monitor_wrap.h" |
60 | 60 | ||
61 | #ifdef KRB5 | 61 | #if defined(KRB5) && defined(USE_AFS) |
62 | #include <kafs.h> | 62 | #include <kafs.h> |
63 | #endif | 63 | #endif |
64 | 64 | ||
@@ -1425,7 +1425,7 @@ do_child(Session *s, const char *command) | |||
1425 | */ | 1425 | */ |
1426 | environ = env; | 1426 | environ = env; |
1427 | 1427 | ||
1428 | #if defined(KRB5) && defined(AFS) | 1428 | #if defined(KRB5) && defined(USE_AFS) |
1429 | /* | 1429 | /* |
1430 | * At this point, we check to see if AFS is active and if we have | 1430 | * At this point, we check to see if AFS is active and if we have |
1431 | * a valid Kerberos 5 TGT. If so, it seems like a good idea to see | 1431 | * a valid Kerberos 5 TGT. If so, it seems like a good idea to see |