X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil_attr.cpp;h=d1c00750ef7b4f940dbc4e7142049f107c598685;hb=8d18f551b2dfd59ec1b29ca1dad756079972075e;hp=3bfe7856df73de60c8bde0c2257ac3558b512698;hpb=c8aab0e2167cf2729523b0f1a5618840aee5d97e;p=mech_eap.orig diff --git a/mech_eap/util_attr.cpp b/mech_eap/util_attr.cpp index 3bfe785..d1c0075 100644 --- a/mech_eap/util_attr.cpp +++ b/mech_eap/util_attr.cpp @@ -58,16 +58,16 @@ GSSEAP_ONCE_CALLBACK(gssEapAttrProvidersInitInternal) if (GSS_ERROR(major)) goto cleanup; -#ifdef HAVE_OPENSAML - major = gssEapSamlAttrProvidersInit(&minor); - if (GSS_ERROR(major)) - goto cleanup; -#endif #ifdef HAVE_SHIBRESOLVER /* Allow Shibboleth initialization failure to be non-fatal */ gssEapLocalAttrProviderInit(&minor); #endif +#ifdef HAVE_OPENSAML + major = gssEapSamlAttrProvidersInit(&minor); + if (GSS_ERROR(major)) + goto cleanup; +#endif cleanup: #ifdef GSSEAP_DEBUG