Reset out variables.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19960 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-17 15:09:24 +00:00
parent ec4eebc3bc
commit 5051255f5e
4 changed files with 20 additions and 6 deletions

View File

@@ -46,6 +46,14 @@ gss_inquire_cred_by_mech(OM_uint32 *minor_status,
struct _gss_name *name;
*minor_status = 0;
if (cred_name)
*cred_name = GSS_C_NO_NAME;
if (initiator_lifetime)
*initiator_lifetime = 0;
if (acceptor_lifetime)
*acceptor_lifetime = 0;
if (cred_usage)
*cred_usage = 0;
m = __gss_get_mechanism(mech_type);
if (!m)