fix some build errors
[mech_eap.orig] / util_saml.c
index cafb4ff..c09b30a 100644 (file)
@@ -44,7 +44,9 @@ OM_uint32
 samlFreeAssertion(OM_uint32 *minor,
                   struct eap_gss_saml_assertion *assertion)
 {
-    GSSEAP_NOT_IMPLEMENTED;
+    if (assertion != NULL) {
+        GSSEAP_NOT_IMPLEMENTED;
+    }
 }
 
 OM_uint32
@@ -56,8 +58,17 @@ samlExportAssertion(OM_uint32 *minor,
 }
 
 OM_uint32
+samlGetAttributeTypes(OM_uint32 *minor,
+                      const struct eap_gss_saml_assertion *assertion,
+                      void *data,
+                      OM_uint32 (*addAttribute)(OM_uint32 *, void *, gss_buffer_t))
+{
+    GSSEAP_NOT_IMPLEMENTED;
+}
+
+OM_uint32
 samlGetAttribute(OM_uint32 *minor,
-                 struct eap_gss_saml_assertion *assertion,
+                 const struct eap_gss_saml_assertion *assertion,
                  gss_buffer_t attr,
                  int *authenticated,
                  int *complete,