+2004-08-03 Ken Raeburn <raeburn@mit.edu>
+
+ * srv_rcache.c (krb5_get_server_rcache): Call
+ krb5_rc_recover_or_initialize.
+
2004-06-22 Ken Raeburn <raeburn@mit.edu>
* parse.c (krb5_parse_name): Don't test macintosh.
* First try to recover the replay cache; if that doesn't work,
* initialize it.
*/
- if (krb5_rc_recover(context, rcache)) {
- if ((retval = krb5_rc_initialize(context, rcache,
- context->clockskew))) {
- krb5_rc_close(context, rcache);
- rcache = 0;
- goto cleanup;
- }
+ retval = krb5_rc_recover_or_initialize(context, rcache, context->clockskew);
+ if (retval) {
+ krb5_rc_close(context, rcache);
+ rcache = 0;
+ goto cleanup;
}
*rcptr = rcache;