summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-04-04 16:47:14 -0400
committerSimo Sorce <simo@redhat.com>2015-04-04 16:47:39 -0400
commit429fcc62a7222e56f0b741158c05d77551443f62 (patch)
tree26d0dd85cc01995a562e4de7138521640193adb6 /src
parent6c1742fe5bad49d3ea176546fd6f929ae05f4e7d (diff)
downloadgss-ntlmssp-429fcc62a7222e56f0b741158c05d77551443f62.tar.gz
gss-ntlmssp-429fcc62a7222e56f0b741158c05d77551443f62.tar.xz
gss-ntlmssp-429fcc62a7222e56f0b741158c05d77551443f62.zip
Return the actual_mech_type when requested
Fixes #5
Diffstat (limited to 'src')
-rw-r--r--src/gss_sec_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c
index 7192b48..b3a2d39 100644
--- a/src/gss_sec_ctx.c
+++ b/src/gss_sec_ctx.c
@@ -430,6 +430,7 @@ done:
(retmaj != GSS_S_CONTINUE_NEEDED)) {
gssntlm_delete_sec_context(&tmpmin, (gss_ctx_id_t *)&ctx, NULL);
} else {
+ if (actual_mech_type) *actual_mech_type = discard_const(&gssntlm_oid);
if (ret_flags) *ret_flags = ctx->gss_flags;
if (time_rec) *time_rec = GSS_C_INDEFINITE;
}