• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/crypto/x509/

Lines Matching refs:store

292     X509_STORE *store = vs->ctx;
297 if (store == NULL)
304 X509_STORE_lock(store);
305 tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name);
306 X509_STORE_unlock(store);
309 for (i = 0; i < sk_X509_LOOKUP_num(store->get_cert_methods); i++) {
310 lu = sk_X509_LOOKUP_value(store->get_cert_methods, i);
330 static int x509_store_add(X509_STORE *store, void *x, int crl) {
353 X509_STORE_lock(store);
354 if (X509_OBJECT_retrieve_match(store->objs, obj)) {
357 added = sk_X509_OBJECT_push(store->objs, obj);
360 X509_STORE_unlock(store);
541 X509_STORE *store = ctx->ctx;
543 if (store == NULL)
546 X509_STORE_lock(store);
547 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
555 X509_STORE_unlock(store);
564 X509_STORE_lock(store);
565 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
567 X509_STORE_unlock(store);
574 obj = sk_X509_OBJECT_value(store->objs, idx);
577 X509_STORE_unlock(store);
582 X509_STORE_unlock(store);
588 X509_STORE_unlock(store);
598 X509_STORE *store = ctx->ctx;
603 || store == NULL
610 X509_STORE_lock(store);
611 idx = x509_object_idx_cnt(store->objs, X509_LU_CRL, nm, &cnt);
613 X509_STORE_unlock(store);
619 obj = sk_X509_OBJECT_value(store->objs, idx);
622 X509_STORE_unlock(store);
627 X509_STORE_unlock(store);
633 X509_STORE_unlock(store);
666 * Try to get issuer certificate from store. Due to limitations
681 X509_STORE *store = ctx->ctx;
707 if (store == NULL)
712 X509_STORE_lock(store);
713 idx = X509_OBJECT_idx_by_subject(store->objs, X509_LU_X509, xn);
717 for (i = idx; i < sk_X509_OBJECT_num(store->objs); i++) {
718 pobj = sk_X509_OBJECT_value(store->objs, i);
743 X509_STORE_unlock(store);