]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/gssd/context.c
Imported upstream 1.2.6
[nfs-utils.git] / utils / gssd / context.c
index 0ca7079c0367880239e0ef3928921b4d4d56fa7c..fee7da27906e94b990fb7c49d73bf4f27a7003ac 100644 (file)
   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif /* HAVE_CONFIG_H */
+
 #include <stdio.h>
 #include <syslog.h>
 #include <string.h>
@@ -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");