Initializeshib resolver before opensaml so catalog path is set
authorSam Hartman <hartmans@painless-security.com>
Tue, 3 Jan 2012 20:41:17 +0000 (15:41 -0500)
committerSam Hartman <hartmans@debian.org>
Tue, 24 Jan 2012 17:38:58 +0000 (12:38 -0500)
mech_eap/util_attr.cpp

index 3bfe785..d1c0075 100644 (file)
@@ -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