• Home
  • Raw
  • Download

Lines Matching refs:ers

244 	struct revoked_serial rs, *ers, *crs, *irs;  in insert_serial_range()  local
250 ers = RB_NFIND(revoked_serial_tree, rt, &rs); in insert_serial_range()
251 if (ers == NULL || serial_cmp(ers, &rs) != 0) { in insert_serial_range()
256 ers = RB_INSERT(revoked_serial_tree, rt, irs); in insert_serial_range()
257 if (ers != NULL) { in insert_serial_range()
263 ers = irs; in insert_serial_range()
266 ers->lo, ers->hi)); in insert_serial_range()
271 if (ers->lo > lo) in insert_serial_range()
272 ers->lo = lo; in insert_serial_range()
273 if (ers->hi < hi) in insert_serial_range()
274 ers->hi = hi; in insert_serial_range()
283 while ((crs = RB_PREV(revoked_serial_tree, rt, ers)) != NULL) { in insert_serial_range()
285 if (ers->lo != 0 && crs->hi < ers->lo - 1) in insert_serial_range()
288 if (crs->lo < ers->lo) { in insert_serial_range()
289 ers->lo = crs->lo; in insert_serial_range()
291 ers->lo, ers->hi)); in insert_serial_range()
297 while ((crs = RB_NEXT(revoked_serial_tree, rt, ers)) != NULL) { in insert_serial_range()
299 if (ers->hi != (u_int64_t)-1 && crs->lo > ers->hi + 1) in insert_serial_range()
302 if (crs->hi > ers->hi) { in insert_serial_range()
303 ers->hi = crs->hi; in insert_serial_range()
305 ers->lo, ers->hi)); in insert_serial_range()
310 KRL_DBG(("%s: done, final %llu:%llu", __func__, ers->lo, ers->hi)); in insert_serial_range()
1164 struct revoked_serial rs, *ers; in is_cert_revoked() local
1185 ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs); in is_cert_revoked()
1186 if (ers != NULL) { in is_cert_revoked()
1188 key->cert->serial, ers->lo, ers->hi)); in is_cert_revoked()