Hack: force complete to be true
authormoonshot <moonshot@moonshot-test.project-moonshot.org>
Mon, 4 Apr 2011 18:46:29 +0000 (14:46 -0400)
committerSam Hartman <hartmans@painless-security.com>
Tue, 10 May 2011 11:43:06 +0000 (07:43 -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

moonshot/mech_eap/util_shib.cpp

index 3d2aa2c..418cb77 100644 (file)
@@ -315,7 +315,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;