correct pointer error in gsseap_set_cred_flag example
[mech_eap.orig] / acquire_cred.c
index 0bb1f1f..2326eaa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * SUCH DAMAGE.
  */
 
+/*
+ * Wrapper for acquiring a credential handle.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -42,5 +46,7 @@ gss_acquire_cred(OM_uint32 *minor,
                  gss_OID_set *actual_mechs,
                  OM_uint32 *time_rec)
 {
-    GSSEAP_NOT_IMPLEMENTED;
+    return gssEapAcquireCred(minor, desired_name, GSS_C_NO_BUFFER,
+                             time_req, desired_mechs, cred_usage,
+                             output_cred_handle, actual_mechs, time_rec);
 }