From: Paul Park Date: Thu, 31 Aug 1995 18:21:01 +0000 (+0000) Subject: Set magic number in krb5_rcache X-Git-Tag: krb5-1.0-beta6~1215 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=52c8b18a38c84f436ffc3bdabdd2928575076d6c;p=krb5.git Set magic number in krb5_rcache git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6641 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/rcache/ChangeLog b/src/lib/krb5/rcache/ChangeLog index 56245e1e1..c87010e21 100644 --- a/src/lib/krb5/rcache/ChangeLog +++ b/src/lib/krb5/rcache/ChangeLog @@ -1,4 +1,9 @@ +Thu Aug 31 14:13:21 EDT 1995 Paul Park (pjpark@mit.edu) + * rc_base.c - Set magic number in rcache structure after successfully + resolving the replay cache. + + Tue Aug 29 14:19:54 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in, .Sanitize, ser_rc.c - Add routines to serialize rcache. diff --git a/src/lib/krb5/rcache/rc_base.c b/src/lib/krb5/rcache/rc_base.c index fd8f4bce7..bc878b592 100644 --- a/src/lib/krb5/rcache/rc_base.c +++ b/src/lib/krb5/rcache/rc_base.c @@ -125,6 +125,7 @@ krb5_rc_default(context, id) if ((retval = krb5_rc_resolve(context, *id, krb5_rc_default_name(context)))) FREE(*id); + (*id)->magic = KV5M_RCACHE; return retval; } @@ -159,6 +160,7 @@ krb5_error_code krb5_rc_resolve_full(context, id, string_name) FREE(type); if ((retval = krb5_rc_resolve(context, *id,residual + 1))) FREE(*id); + (*id)->magic = KV5M_RCACHE; return retval; }