Searched refs:crls (Results 1 - 20 of 20) sorted by relevance

/openbsd-current/usr.bin/openssl/
H A Dverify.c73 STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls);
264 STACK_OF(X509_CRL) *crls = NULL;
337 crls = load_crls(bio_err, cfg.crlfile, FORMAT_PEM,
339 if (!crls)
344 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls))
349 trusted, crls))
361 sk_X509_CRL_pop_free(crls, X509_CRL_free);
368 STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls)
387 if (crls)
388 X509_STORE_CTX_set0_crls(csc, crls);
367 check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls) argument
[all...]
H A Dpkcs7.c214 STACK_OF(X509_CRL) * crls = NULL;
221 crls = p7->d.sign->crl;
227 crls = p7->d.signed_and_enveloped->crl;
249 if (crls != NULL) {
252 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
253 crl = sk_X509_CRL_value(crls, i);
H A Dcerthash.c432 struct hashinfo **crls)
439 if (hashinfo_chain_sort(crls) == -1)
442 certhash_index(*crls, "CRL");
450 for (crl = *crls; crl != NULL; crl = crl->next) {
463 for (crl = *crls; crl != NULL; crl = crl->next) {
512 struct hashinfo **crls)
544 *crls = hashinfo_chain(*crls, hi);
562 struct hashinfo *links = NULL, *certs = NULL, *crls = NULL, *link; local
582 if (certhash_file(dep, &certs, &crls)
431 certhash_merge(struct hashinfo **links, struct hashinfo **certs, struct hashinfo **crls) argument
511 certhash_file(struct dirent *dep, struct hashinfo **certs, struct hashinfo **crls) argument
[all...]
H A Dapps.c787 STACK_OF(X509_CRL) *crls;
789 if (!load_certs_crls(err, file, format, pass, desc, NULL, &crls))
791 return crls;
/openbsd-current/usr.sbin/rpki-client/
H A Dvalidate.c333 build_crls(const struct crl *crl, STACK_OF(X509_CRL) **crls) argument
335 *crls = NULL;
339 if ((*crls = sk_X509_CRL_new_null()) == NULL)
341 if (!sk_X509_CRL_push(*crls, crl->x509_crl))
380 STACK_OF(X509_CRL) *crls = NULL;
386 build_crls(crl, &crls);
414 X509_STORE_CTX_set0_crls(store_ctx, crls);
424 sk_X509_CRL_free(crls);
431 sk_X509_CRL_free(crls);
H A Dcms.c103 STACK_OF(X509_CRL) *crls;
315 crls = CMS_get1_crls(cms);
316 if (crls != NULL) {
317 sk_X509_CRL_pop_free(crls, X509_CRL_free);
H A Doutput.c242 st->repo_tal_stats.crls,
H A Doutput-json.c70 json_do_int("crls", st->repo_tal_stats.crls);
H A Doutput-ometric.c67 ometric_set_int_with_labels(metric, in->crls,
H A Dmain.c773 out->crls += in->crls;
1499 printf("Certificate revocation lists: %u\n", stats.repo_tal_stats.crls);
H A Dextern.h609 uint32_t crls; /* revocation lists */ member in struct:repotalstats
H A Drepo.c1532 rp->stats[talid].crls++;
/openbsd-current/lib/libcrypto/cms/
H A Dcms_lib.c576 return &cms->d.signedData->crls;
581 return &cms->d.envelopedData->originatorInfo->crls;
675 STACK_OF(X509_CRL) *crls = NULL;
686 if (!crls) {
687 crls = sk_X509_CRL_new_null();
688 if (!crls)
691 if (!sk_X509_CRL_push(crls, rch->d.crl)) {
692 sk_X509_CRL_pop_free(crls, X509_CRL_free);
698 return crls;
H A Dcms_smime.c307 STACK_OF(X509) *certs, STACK_OF(X509_CRL) *crls)
323 if (crls)
324 X509_STORE_CTX_set0_crls(ctx, crls);
349 STACK_OF(X509_CRL) *crls = NULL;
390 crls = CMS_get1_crls(cms);
393 if (!cms_signerinfo_verify_cert(si, store, cms_certs, crls))
497 sk_X509_CRL_pop_free(crls, X509_CRL_free);
306 cms_signerinfo_verify_cert(CMS_SignerInfo *si, X509_STORE *store, STACK_OF(X509) *certs, STACK_OF(X509_CRL) *crls) argument
H A Dcms_local.h115 STACK_OF(CMS_RevocationInfoChoice) *crls; member in struct:CMS_SignedData_st
160 STACK_OF(CMS_RevocationInfoChoice) *crls; member in struct:CMS_OriginatorInfo_st
H A Dcms_env.c890 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(org->crls); i++) {
893 rch = sk_CMS_RevocationInfoChoice_value(org->crls, i);
H A Dcms_sd.c140 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(sd->crls); i++) {
141 rch = sk_CMS_RevocationInfoChoice_value(sd->crls, i);
H A Dcms_asn1.c387 .offset = offsetof(CMS_SignedData, crls),
388 .field_name = "crls",
421 .offset = offsetof(CMS_OriginatorInfo, crls),
422 .field_name = "crls",
/openbsd-current/lib/libcrypto/x509/
H A Dx509_vfy.c134 X509_CRL *base, STACK_OF(X509_CRL) *crls);
1066 STACK_OF(X509_CRL) *crls)
1074 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
1075 crl = sk_X509_CRL_value(crls, i);
1099 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls);
1183 STACK_OF(X509_CRL) *crls)
1192 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
1193 delta = sk_X509_CRL_value(crls, i);
1347 crl_ctx.crls = ctx->crls;
1064 get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, X509 **pissuer, int *pscore, unsigned int *preasons, STACK_OF(X509_CRL) *crls) argument
1182 get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pscore, X509_CRL *base, STACK_OF(X509_CRL) *crls) argument
[all...]
H A Dx509_local.h326 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */ member in struct:x509_store_ctx_st

Completed in 311 milliseconds