Home
last modified time | relevance | path

Searched refs:crls (Results 1 – 23 of 23) sorted by relevance

/openbsd/src/usr.bin/openssl/
Dverify.c73 STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls);
264 STACK_OF(X509_CRL) *crls = NULL; in verify_main()
337 crls = load_crls(bio_err, cfg.crlfile, FORMAT_PEM, in verify_main()
339 if (!crls) in verify_main()
344 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls)) in verify_main()
349 trusted, crls)) in verify_main()
361 sk_X509_CRL_pop_free(crls, X509_CRL_free); in verify_main()
368 STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls) in check()
387 if (crls) in check()
388 X509_STORE_CTX_set0_crls(csc, crls); in check()
Dpkcs7.c214 STACK_OF(X509_CRL) * crls = NULL; in pkcs7_main()
221 crls = p7->d.sign->crl; in pkcs7_main()
227 crls = p7->d.signed_and_enveloped->crl; in pkcs7_main()
249 if (crls != NULL) { in pkcs7_main()
252 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_main()
253 crl = sk_X509_CRL_value(crls, i); in pkcs7_main()
Dcerthash.c432 struct hashinfo **crls) in certhash_merge() argument
439 if (hashinfo_chain_sort(crls) == -1) in certhash_merge()
442 certhash_index(*crls, "CRL"); in certhash_merge()
450 for (crl = *crls; crl != NULL; crl = crl->next) { in certhash_merge()
463 for (crl = *crls; crl != NULL; crl = crl->next) { in certhash_merge()
512 struct hashinfo **crls) in certhash_file() argument
544 *crls = hashinfo_chain(*crls, hi); in certhash_file()
562 struct hashinfo *links = NULL, *certs = NULL, *crls = NULL, *link; in certhash_directory() local
582 if (certhash_file(dep, &certs, &crls) == -1) in certhash_directory()
587 if (certhash_merge(&links, &certs, &crls) == -1) { in certhash_directory()
[all …]
Dcms.c1169 STACK_OF(X509_CRL) *crls = NULL; in cms_main()
1330 crls = load_crls(bio_err, cfg.crlfile, FORMAT_PEM, NULL, in cms_main()
1332 if (crls == NULL) in cms_main()
1700 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in cms_main()
1701 X509_CRL *crl = sk_X509_CRL_value(crls, i); in cms_main()
1781 sk_X509_CRL_pop_free(crls, X509_CRL_free); in cms_main()
Dapps.c787 STACK_OF(X509_CRL) *crls; in STACK_OF()
789 if (!load_certs_crls(err, file, format, pass, desc, NULL, &crls)) in STACK_OF()
791 return crls; in STACK_OF()
/openbsd/src/usr.sbin/rpki-client/
Dvalidate.c335 build_crls(const struct crl *crl, STACK_OF(X509_CRL) **crls) in build_crls() argument
337 *crls = NULL; in build_crls()
341 if ((*crls = sk_X509_CRL_new_null()) == NULL) in build_crls()
343 if (!sk_X509_CRL_push(*crls, crl->x509_crl)) in build_crls()
382 STACK_OF(X509_CRL) *crls = NULL; in valid_x509()
388 build_crls(crl, &crls); in valid_x509()
416 X509_STORE_CTX_set0_crls(store_ctx, crls); in valid_x509()
426 sk_X509_CRL_free(crls); in valid_x509()
433 sk_X509_CRL_free(crls); in valid_x509()
Dcms.c103 STACK_OF(X509_CRL) *crls = NULL; in cms_parse_validate_internal()
316 crls = CMS_get1_crls(cms); in cms_parse_validate_internal()
317 if (crls != NULL && sk_X509_CRL_num(crls) != 0) { in cms_parse_validate_internal()
368 sk_X509_CRL_pop_free(crls, X509_CRL_free); in cms_parse_validate_internal()
Doutput-json.c72 json_do_int("crls", st->repo_tal_stats.crls); in outputheader_json()
Doutput.c285 st->repo_tal_stats.crls, in outputheader()
Doutput-ometric.c69 ometric_set_int_with_labels(metric, in->crls, in set_common_stats()
Dmain.c778 out->crls += in->crls; in sum_stats()
1530 printf("Certificate revocation lists: %u\n", stats.repo_tal_stats.crls); in main()
Dextern.h614 uint32_t crls; /* revocation lists */ member
Drepo.c1599 rp->stats[talid].crls++; in repo_stat_inc()
/openbsd/src/lib/libcrypto/cms/
Dcms_lib.c579 return &cms->d.signedData->crls; in STACK_OF()
584 return &cms->d.envelopedData->originatorInfo->crls; in STACK_OF()
678 STACK_OF(X509_CRL) *crls = NULL; in STACK_OF()
689 if (!crls) { in STACK_OF()
690 crls = sk_X509_CRL_new_null(); in STACK_OF()
691 if (!crls) in STACK_OF()
694 if (!sk_X509_CRL_push(crls, rch->d.crl)) { in STACK_OF()
695 sk_X509_CRL_pop_free(crls, X509_CRL_free); in STACK_OF()
701 return crls; in STACK_OF()
Dcms_smime.c307 STACK_OF(X509) *certs, STACK_OF(X509_CRL) *crls) in cms_signerinfo_verify_cert()
323 if (crls) in cms_signerinfo_verify_cert()
324 X509_STORE_CTX_set0_crls(ctx, crls); in cms_signerinfo_verify_cert()
349 STACK_OF(X509_CRL) *crls = NULL; in CMS_verify()
390 crls = CMS_get1_crls(cms); in CMS_verify()
393 if (!cms_signerinfo_verify_cert(si, store, cms_certs, crls)) in CMS_verify()
497 sk_X509_CRL_pop_free(crls, X509_CRL_free); in CMS_verify()
Dcms_local.h115 STACK_OF(CMS_RevocationInfoChoice) *crls;
160 STACK_OF(CMS_RevocationInfoChoice) *crls;
Dcms_env.c891 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(org->crls); i++) { in cms_env_set_originfo_version()
894 rch = sk_CMS_RevocationInfoChoice_value(org->crls, i); in cms_env_set_originfo_version()
Dcms_sd.c140 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(sd->crls); i++) { in cms_sd_set_version()
141 rch = sk_CMS_RevocationInfoChoice_value(sd->crls, i); in cms_sd_set_version()
Dcms_asn1.c392 .offset = offsetof(CMS_SignedData, crls),
426 .offset = offsetof(CMS_OriginatorInfo, crls),
/openbsd/src/lib/libcrypto/x509/
Dx509_vfy.c134 X509_CRL *base, STACK_OF(X509_CRL) *crls);
1066 STACK_OF(X509_CRL) *crls) in get_crl_sk()
1074 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_crl_sk()
1075 crl = sk_X509_CRL_value(crls, i); in get_crl_sk()
1099 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); in get_crl_sk()
1183 STACK_OF(X509_CRL) *crls) in get_delta_sk()
1192 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_delta_sk()
1193 delta = sk_X509_CRL_value(crls, i); in get_delta_sk()
1347 crl_ctx.crls = ctx->crls; in check_crl_path()
1524 ctx->crls); in get_crl_delta()
[all …]
Dx509_local.h342 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
/openbsd/src/etc/mtree/
D4.4BSD.dist32 crls
56 crls
/openbsd/src/distrib/sets/lists/base/
Dmi175 ./etc/iked/crls
185 ./etc/isakmpd/crls