add krb5_cc_get_version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6033 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -307,3 +307,13 @@ krb5_cc_copy_cache(krb5_context context,
|
||||
krb5_free_principal(context, princ);
|
||||
return ret;
|
||||
}
|
||||
|
||||
krb5_error_code
|
||||
krb5_cc_get_version(krb5_context context,
|
||||
krb5_ccache id)
|
||||
{
|
||||
if(id->ops->get_version)
|
||||
return id->ops->get_version(context, id);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user