fix some build errors
[mech_eap.orig] / util_saml.c
index 8113677..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