X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fgssd%2Fcontext.c;h=fee7da27906e94b990fb7c49d73bf4f27a7003ac;hp=0ca7079c0367880239e0ef3928921b4d4d56fa7c;hb=adee9b7bddedcddb8de4e0b7c2f778148b1f4d2b;hpb=a4f1386224310b6797f083826fc4b6751e91f9b6 diff --git a/utils/gssd/context.c b/utils/gssd/context.c index 0ca7079..fee7da2 100644 --- a/utils/gssd/context.c +++ b/utils/gssd/context.c @@ -28,7 +28,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif /* HAVE_CONFIG_H */ + #include #include #include @@ -48,10 +51,6 @@ serialize_context_for_kernel(gss_ctx_id_t ctx, { if (g_OID_equal(&krb5oid, mech)) return serialize_krb5_ctx(ctx, buf, endtime); -#ifdef HAVE_SPKM3_H - else if (g_OID_equal(&spkm3oid, mech)) - return serialize_spkm3_ctx(ctx, buf, endtime); -#endif else { printerr(0, "ERROR: attempting to serialize context with " "unknown/unsupported mechanism oid\n");