implement krb5_auth_con_{get,set}rcache

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9328 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-12-10 19:02:46 +00:00
parent 7e78140308
commit e189571626

View File

@@ -420,6 +420,24 @@ krb5_auth_con_setuserkey(krb5_context context,
return krb5_copy_keyblock(context, keyblock, &auth_context->keyblock);
}
krb5_error_code
krb5_auth_con_getrcache(krb5_context context,
krb5_auth_context auth_context,
krb5_rcache *rcache)
{
*rcache = auth_context->rcache;
return 0;
}
krb5_error_code
krb5_auth_con_setrcache(krb5_context context,
krb5_auth_context auth_context,
krb5_rcache rcache)
{
auth_context->rcache = rcache;
return 0;
}
#if 0 /* not implemented */
krb5_error_code
@@ -438,13 +456,4 @@ krb5_auth_con_setivector(krb5_context context,
krb5_abortx(context, "unimplemented krb5_auth_con_setivector called");
}
krb5_error_code
krb5_auth_con_setrcache(krb5_context context,
krb5_auth_context auth_context,
krb5_rcache rcache)
{
krb5_abortx(context, "unimplemented krb5_auth_con_setrcache called");
}
#endif /* not implemented */