From a7572e70ad98c31537c537b22afa62ec48a2a812 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 19 Apr 2015 23:02:09 -0400 Subject: Return actual mech on accept context too Related #5 --- src/gss_sec_ctx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c index b3a2d39..94b8b61 100644 --- a/src/gss_sec_ctx.c +++ b/src/gss_sec_ctx.c @@ -991,6 +991,7 @@ done: (retmaj != GSS_S_CONTINUE_NEEDED)) { gssntlm_delete_sec_context(&tmpmin, (gss_ctx_id_t *)&ctx, NULL); } else { + if (mech_type) *mech_type = discard_const(&gssntlm_oid); if (ret_flags) *ret_flags = ctx->gss_flags; if (time_rec) *time_rec = GSS_C_INDEFINITE; } -- cgit