add lastmodified

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23923 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-10-18 21:14:54 +00:00
parent 3960be2685
commit 7811db9c1f
5 changed files with 95 additions and 4 deletions

View File

@@ -872,6 +872,13 @@ kcm_default_name(krb5_context context, char **str)
str);
}
static krb5_error_code
kcm_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
{
*mtime = time(NULL);
return 0;
}
/**
* Variable containing the KCM based credential cache implemention.
*
@@ -900,7 +907,9 @@ KRB5_LIB_VARIABLE const krb5_cc_ops krb5_kcm_ops = {
NULL,
NULL,
kcm_move,
kcm_default_name
kcm_default_name,
NULL,
kcm_lastchange
};
krb5_boolean