temporary: force mutual
authorSam Hartman <hartmans@debian.org>
Thu, 19 Sep 2013 19:31:19 +0000 (15:31 -0400)
committerSam Hartman <hartmans@debian.org>
Thu, 19 Sep 2013 19:31:19 +0000 (15:31 -0400)
Until channel bindings are more widely deployed force mutual
authentication even if channel binding fails.

mech_eap/init_sec_context.c

index 6cb4be0..80e62c3 100644 (file)
@@ -1068,6 +1068,11 @@ eapGssSmInitAcceptorMIC(OM_uint32 *minor,
     if (GSS_ERROR(major))
         return major;
 
+    /*
+     * As a temporary measure, force mutual authentication until channel binding is
+     * more widely deployed.
+     */
+    ctx->gssFlags |= GSS_C_MUTUAL_FLAG;
     GSSEAP_SM_TRANSITION(ctx, GSSEAP_STATE_ESTABLISHED);
 
     *minor = 0;