Check if new credential cache exists, if not create one.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22787 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-03-25 13:50:14 +00:00
parent 554c98d5fb
commit 360bfcab37

View File

@@ -988,6 +988,7 @@ kcm_op_move_cache(krb5_context context,
return ret;
}
/* Check if new credential cache exists, if not create one. */
ret = kcm_ccache_resolve_client(context, client, opcode, newname, &newid);
if (ret == KRB5_FCC_NOFILE)
ret = kcm_ccache_new_client(context, client, newname, &newid);