save Shibboleth exception code in GSS per-thread status
authorLuke Howard <lukeh@padl.com>
Wed, 30 Mar 2011 04:01:43 +0000 (15:01 +1100)
committerLuke Howard <lukeh@padl.com>
Wed, 30 Mar 2011 04:01:43 +0000 (15:01 +1100)
mech_eap/util_shib.cpp

index 918f947..07ee06c 100644 (file)
@@ -484,6 +484,8 @@ gss_eap_shib_attr_provider::mapException(OM_uint32 *minor,
     else
         return GSS_S_CONTINUE_NEEDED;
 
+    gssEapSaveStatusInfo(*minor, "%s", e.what());
+
     return GSS_S_FAILURE;
 }