Lines Matching refs:rep
29 krb5_donot_replay rep;
42 hash(krb5_donot_replay *rep, unsigned int hsize)
44 unsigned int h = rep->cusec + rep->ctime;
45 h += *rep->server;
46 h += *rep->client;
81 rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep)
88 rephash = hash(rep, t->hsize);
94 * Calling alive() on rep since it doesn't make sense to store
97 if (alive(time, rep, t->lifespan) == CMP_EXPIRED)
101 switch (cmp(&ta->rep, rep, t->lifespan)) {
105 if (alive(time, &ta->rep, t->lifespan)
107 free(ta->rep.client);
108 free(ta->rep.server);
109 free(ta->rep.msghash);
127 ta->rep = *rep;
128 ta->rep.client = ta->rep.server = ta->rep.msghash = NULL;
129 if (!(ta->rep.client = strdup(rep->client)))
131 if (!(ta->rep.server = strdup(rep->server)))
133 if (!(ta->rep.msghash = strdup(rep->msghash)))
139 if (ta->rep.client)
140 free(ta->rep.client);
141 if (ta->rep.server)
142 free(ta->rep.server);
143 if (ta->rep.msghash)
144 free(ta->rep.msghash);
303 krb5_rc_mem_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep)
308 switch (rc_store(context, id, rep)) {