(gss_inquire_context): set lifetime_rec now when we know it, set minor_status

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11741 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-16 17:43:30 +00:00
parent db086cdf25
commit 7f2e882866
2 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 2003 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -66,7 +66,7 @@ OM_uint32 gss_inquire_context (
}
if (lifetime_rec)
*lifetime_rec = GSS_C_INDEFINITE;
*lifetime_rec = context_handle->lifetime;
if (mech_type)
*mech_type = GSS_KRB5_MECHANISM;
@@ -80,5 +80,6 @@ OM_uint32 gss_inquire_context (
if (open_context)
*open_context = context_handle->more_flags & OPEN;
*minor_status = 0;
return GSS_S_COMPLETE;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 2003 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -66,7 +66,7 @@ OM_uint32 gss_inquire_context (
}
if (lifetime_rec)
*lifetime_rec = GSS_C_INDEFINITE;
*lifetime_rec = context_handle->lifetime;
if (mech_type)
*mech_type = GSS_KRB5_MECHANISM;
@@ -80,5 +80,6 @@ OM_uint32 gss_inquire_context (
if (open_context)
*open_context = context_handle->more_flags & OPEN;
*minor_status = 0;
return GSS_S_COMPLETE;
}