(krb5_get_in_tkt): for compatibility with with the mit implemtation,

don't free `creds' argument when done, its up the the caller to do
that, also allow a NULL ccache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12561 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-08-17 15:52:01 +00:00
parent eaffdea2a6
commit bc32f47208

View File

@@ -820,7 +820,7 @@ krb5_get_in_tkt(krb5_context context,
ret_as_reply);
if(ret)
return ret;
if (ccache)
ret = krb5_cc_store_cred (context, ccache, creds);
krb5_free_creds_contents (context, creds);
return ret;
}