Lines Matching refs:hent
266 BY_DIR_HASH htmp, *hent; in get_cert_by_subject_ex() local
280 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject_ex()
281 k = hent->suffix; in get_cert_by_subject_ex()
283 hent = NULL; in get_cert_by_subject_ex()
289 hent = NULL; in get_cert_by_subject_ex()
372 if (hent == NULL) { in get_cert_by_subject_ex()
375 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject_ex()
377 if (hent == NULL) { in get_cert_by_subject_ex()
378 hent = OPENSSL_malloc(sizeof(*hent)); in get_cert_by_subject_ex()
379 if (hent == NULL) { in get_cert_by_subject_ex()
384 hent->hash = h; in get_cert_by_subject_ex()
385 hent->suffix = k; in get_cert_by_subject_ex()
386 if (!sk_BY_DIR_HASH_push(ent->hashes, hent)) { in get_cert_by_subject_ex()
388 OPENSSL_free(hent); in get_cert_by_subject_ex()
399 } else if (hent->suffix < k) { in get_cert_by_subject_ex()
400 hent->suffix = k; in get_cert_by_subject_ex()