update gssapi/ntlm for windows build

NTMakefile:
  replace ntlm/inquire_cred.c with ntlm/creds.c
  add ntlm/inquire_sec_context_by_oid.c
  add ntlm/iter_cred.c

add missing GSSAPI_CALLCONV function descriptors

conditionalize use of kcm functions with HAVE_KCM

Change-Id: Ia693f67304405bd540c57db8858c13314cd60322
This commit is contained in:
Jeffrey Altman
2011-05-16 23:07:08 -04:00
committed by Jeffrey Altman
parent 31de117576
commit 75959422e1
4 changed files with 36 additions and 16 deletions

View File

@@ -35,11 +35,12 @@
#include "ntlm.h"
void
void GSSAPI_CALLCONV
_gss_ntlm_iter_creds_f(OM_uint32 flags,
void *userctx ,
void (*cred_iter)(void *, gss_OID, gss_cred_id_t))
{
#ifdef HAVE_KCM
krb5_error_code ret;
krb5_context context = NULL;
krb5_storage *request, *response;
@@ -93,5 +94,6 @@ _gss_ntlm_iter_creds_f(OM_uint32 flags,
done:
if (context)
krb5_free_context(context);
#endif /* HAVE_KCM */
(*cred_iter)(userctx, NULL, NULL);
}