+2000-06-08 Alexandra Ellwood <lxs@mit.edu>
+
+ * stdcc_util.c (dupCCtoK5, dupK5toCC):
+ Fixed code that stores times in localtime, not in kdc time.
+
2000-05-18 Danilo Almeida <dalmeida@mit.edu>
* stdcc_util.c (dupK5toCC): Remove unused variables.
dest->times.starttime = src->starttime + offset_seconds;
dest->times.endtime = src->endtime + offset_seconds;
dest->times.renew_till = src->renew_till + offset_seconds;
- dest->is_skey = src->is_skey + offset_seconds;
- dest->ticket_flags = src->ticket_flags + offset_seconds;
+ dest->is_skey = src->is_skey;
+ dest->ticket_flags = src->ticket_flags;
/* more branching fields */
err = copyCCDataArrayToK5(src, dest, kAddressArray);
c->starttime = creds->times.starttime - offset_seconds;
c->endtime = creds->times.endtime - offset_seconds;
c->renew_till = creds->times.renew_till - offset_seconds;
- c->is_skey = creds->is_skey - offset_seconds;
- c->ticket_flags = creds->ticket_flags - offset_seconds;
+ c->is_skey = creds->is_skey;
+ c->ticket_flags = creds->ticket_flags;
err = copyK5DataArrayToCC(creds, c, kAddressArray);
if (err) return;