(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:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -66,7 +66,7 @@ OM_uint32 gss_inquire_context (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (lifetime_rec)
|
if (lifetime_rec)
|
||||||
*lifetime_rec = GSS_C_INDEFINITE;
|
*lifetime_rec = context_handle->lifetime;
|
||||||
|
|
||||||
if (mech_type)
|
if (mech_type)
|
||||||
*mech_type = GSS_KRB5_MECHANISM;
|
*mech_type = GSS_KRB5_MECHANISM;
|
||||||
@@ -80,5 +80,6 @@ OM_uint32 gss_inquire_context (
|
|||||||
if (open_context)
|
if (open_context)
|
||||||
*open_context = context_handle->more_flags & OPEN;
|
*open_context = context_handle->more_flags & OPEN;
|
||||||
|
|
||||||
|
*minor_status = 0;
|
||||||
return GSS_S_COMPLETE;
|
return GSS_S_COMPLETE;
|
||||||
}
|
}
|
||||||
|
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -66,7 +66,7 @@ OM_uint32 gss_inquire_context (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (lifetime_rec)
|
if (lifetime_rec)
|
||||||
*lifetime_rec = GSS_C_INDEFINITE;
|
*lifetime_rec = context_handle->lifetime;
|
||||||
|
|
||||||
if (mech_type)
|
if (mech_type)
|
||||||
*mech_type = GSS_KRB5_MECHANISM;
|
*mech_type = GSS_KRB5_MECHANISM;
|
||||||
@@ -80,5 +80,6 @@ OM_uint32 gss_inquire_context (
|
|||||||
if (open_context)
|
if (open_context)
|
||||||
*open_context = context_handle->more_flags & OPEN;
|
*open_context = context_handle->more_flags & OPEN;
|
||||||
|
|
||||||
|
*minor_status = 0;
|
||||||
return GSS_S_COMPLETE;
|
return GSS_S_COMPLETE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user