diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2007-02-08 17:27:40 -0500 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-02-09 11:45:03 +1100 |
commit | 27b9c1633398fe605d35da74318f96731506059e (patch) | |
tree | 0d306627443761b0b64a84fda131c9fa05135472 /utils/gssd/context_heimdal.c | |
parent | d4b2b6b90b927d10dba2967be85379f5b46ff231 (diff) | |
download | nfs-utils-27b9c1633398fe605d35da74318f96731506059e.tar.gz nfs-utils-27b9c1633398fe605d35da74318f96731506059e.tar.xz nfs-utils-27b9c1633398fe605d35da74318f96731506059e.zip |
Share handling of lucid_sec_context for Heimdal and MIT
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
The 0.8 release of Heimdal has (will have) support for the lucid context.
The handling of lucid_sec_context can be shared between builds with MIT
or Heimdal Kerberos.
Split out the lucid_sec_context code from context_mit.c
and make a new common file, context_lucid.c.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/gssd/context_heimdal.c')
-rw-r--r-- | utils/gssd/context_heimdal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/gssd/context_heimdal.c b/utils/gssd/context_heimdal.c index edd4dfc..5520cbc 100644 --- a/utils/gssd/context_heimdal.c +++ b/utils/gssd/context_heimdal.c @@ -1,5 +1,5 @@ /* - Copyright (c) 2004 The Regents of the University of Michigan. + Copyright (c) 2004-2006 The Regents of the University of Michigan. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -30,6 +30,7 @@ #include "config.h" +#ifndef HAVE_LUCID_CONTEXT_SUPPORT #ifdef HAVE_HEIMDAL #include <stdio.h> @@ -46,8 +47,6 @@ #include "gss_oids.h" #include "write_bytes.h" -#define MAX_CTX_LEN 4096 - int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key) { gss_buffer_desc tmp; @@ -265,3 +264,4 @@ out_err: } #endif /* HAVE_HEIMDAL */ +#endif /* HAVE_LUCID_CONTEXT_SUPPORT */ |