Hack: force complete to be true
authormoonshot <moonshot@moonshot-test.project-moonshot.org>
Mon, 4 Apr 2011 18:46:29 +0000 (14:46 -0400)
committermoonshot <moonshot@moonshot-test.project-moonshot.org>
Mon, 4 Apr 2011 18:46:29 +0000 (14:46 -0400)
The version of the mech glue we're using requires complete for gss_userok.
That's a bug but it is easier to work around that here than to fix in the mechglue

util_shib.cpp

index bab284b..ef63912 100644 (file)
@@ -349,7 +349,7 @@ gss_eap_shib_attr_provider::getAttribute(const gss_buffer_t attr,
     if (authenticated != NULL)
         *authenticated = m_authenticated;
     if (complete != NULL)
-        *complete = false;
+        *complete = true;
 
     if (nvalues > ++i)
         *more = i;