Conflicts:
moonshot/mech_eap/util_saml.cpp
- fix ABNF: no slash in the case where there is no host
- specify anonymous behaviour: use empty name
-
+- always intern OIDs so they never need to be freed
gss_OID_set *mechs)
{
krb5_context krbContext;
- OM_uint32 major, tmpMinor;
+ OM_uint32 major;
krb5_enctype *etypes;
int i;
for (i = 0; etypes[i] != ENCTYPE_NULL; i++) {
gss_OID mechOid;
+#ifndef HAVE_HEIMDAL_VERSION
+ OM_uint32 tmpMinor;
+#endif
/* XXX currently we aren't equipped to encode these enctypes */
if (etypes[i] < 0 || etypes[i] > 127)
if (GSS_ERROR(major))
break;
+#ifndef HAVE_HEIMDAL_VERSION
gss_release_oid(&tmpMinor, &mechOid);
+#endif
}
GSSEAP_FREE(etypes);
if (pAssertion != NULL)
*pAssertion = NULL;
- saml = static_cast< gss_eap_saml_assertion_provider *>
+ saml = static_cast<gss_eap_saml_assertion_provider *>
(m_manager->getProvider(ATTR_TYPE_SAML_ASSERTION));
if (saml == NULL)
return false;