Fix some build errors, and build with flat_namespace
[mech_eap.orig] / add_cred_with_password.c
index 8d54cb3..d1aae6c 100644 (file)
@@ -60,15 +60,15 @@ gss_add_cred_with_password(OM_uint32 *minor,
     mechs.count = 1;
     mechs.elements = desired_mech;
 
-    major = gss_acquire_cred_with_password(minor,
-                                           desired_name,
-                                           password,
-                                           time_req,
-                                           &mechs,
-                                           cred_usage,
-                                           output_cred_handle,
-                                           actual_mechs,
-                                           &time_rec);
+    major = gssEapAcquireCred(minor,
+                              desired_name,
+                              password,
+                              time_req,
+                              &mechs,
+                              cred_usage,
+                              output_cred_handle,
+                              actual_mechs,
+                              &time_rec);
 
     if (initiator_time_rec != NULL)
         *initiator_time_rec = time_rec;