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

/freebsd-current/crypto/openssl/apps/
H A Dpkcs7.c148 STACK_OF(X509_CRL) *crls = NULL;
155 crls = p7->d.sign->crl;
161 crls = p7->d.signed_and_enveloped->crl;
183 if (crls != NULL) {
186 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
187 crl = sk_X509_CRL_value(crls, i);
H A Dverify.c24 STACK_OF(X509_CRL) *crls, int show_chain,
83 STACK_OF(X509_CRL) *crls = NULL;
162 if (!load_crls(opt_arg(), &crls, NULL, "other CRLs"))
224 if (check(store, NULL, untrusted, trusted, crls, show_chain,
229 if (check(store, argv[i], untrusted, trusted, crls, show_chain,
239 sk_X509_CRL_pop_free(crls, X509_CRL_free);
247 STACK_OF(X509_CRL) *crls, int show_chain,
289 if (crls != NULL)
290 X509_STORE_CTX_set0_crls(csc, crls);
245 check(X509_STORE *ctx, const char *file, STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls, int show_chain, STACK_OF(OPENSSL_STRING) *opts) argument
H A Ds_server.c986 STACK_OF(X509_CRL) *crls = NULL;
1779 crls = sk_X509_CRL_new_null();
1780 if (crls == NULL || !sk_X509_CRL_push(crls, crl)) {
1953 ssl_ctx_add_crls(ctx, crls, 0);
1958 crls, crl_download)) {
2016 ssl_ctx_add_crls(ctx2, crls, 0);
2243 sk_X509_CRL_pop_free(crls, X509_CRL_free);
H A Ds_client.c797 STACK_OF(X509_CRL) *crls = NULL;
1651 crls = sk_X509_CRL_new_null();
1652 if (crls == NULL || !sk_X509_CRL_push(crls, crl)) {
1773 crls, crl_download)) {
1907 ssl_ctx_add_crls(ctx, crls, crl_download);
3097 sk_X509_CRL_pop_free(crls, X509_CRL_free);
/freebsd-current/crypto/openssl/fuzz/
H A Dx509.c44 STACK_OF(X509_CRL) *crls = NULL;
100 crls = sk_X509_CRL_new_null();
101 if (crls == NULL)
104 sk_X509_CRL_push(crls, crl);
105 X509_STORE_CTX_set0_crls(ctx, crls);
143 sk_X509_CRL_free(crls);
/freebsd-current/crypto/heimdal/lib/hx509/
H A Drevoke.c76 } crls; member in struct:hx509_revoke_ctx_data
102 (*ctx)->crls.len = 0;
103 (*ctx)->crls.val = NULL;
153 for (i = 0; i < (*ctx)->crls.len; i++) {
154 free((*ctx)->crls.val[i].path);
155 free_CRLCertificateList(&(*ctx)->crls.val[i].crl);
162 free((*ctx)->crls.val);
626 for (i = 0; i < ctx->crls.len; i++) {
627 if (strcmp(ctx->crls.val[0].path, path) == 0)
631 data = realloc(ctx->crls
[all...]
H A Dtest_nist2.in101 for a in $nistdir/crls/*.crl; do
/freebsd-current/crypto/openssl/crypto/cms/
H A Dcms_lib.c565 return &cms->d.signedData->crls;
570 return &cms->d.envelopedData->originatorInfo->crls;
575 return &cms->d.authEnvelopedData->originatorInfo->crls;
653 STACK_OF(X509_CRL) *crls = NULL;
664 if (!crls) {
665 crls = sk_X509_CRL_new_null();
666 if (!crls)
669 if (!sk_X509_CRL_push(crls, rch->d.crl)) {
670 sk_X509_CRL_pop_free(crls, X509_CRL_free);
676 return crls;
[all...]
H A Dcms_smime.c263 STACK_OF(X509_CRL) *crls,
283 if (crls != NULL)
284 X509_STORE_CTX_set0_crls(ctx, crls);
310 STACK_OF(X509_CRL) *crls = NULL;
365 crls = CMS_get1_crls(cms);
369 if (!cms_signerinfo_verify_cert(si, store, cms_certs, crls,
486 sk_X509_CRL_pop_free(crls, X509_CRL_free);
260 cms_signerinfo_verify_cert(CMS_SignerInfo *si, X509_STORE *store, STACK_OF(X509) *certs, STACK_OF(X509_CRL) *crls, STACK_OF(X509) **chain, const CMS_CTX *cms_ctx) argument
H A Dcms_local.h79 STACK_OF(CMS_RevocationInfoChoice) *crls; member in struct:CMS_SignedData_st
125 STACK_OF(CMS_RevocationInfoChoice) *crls; member in struct:CMS_OriginatorInfo_st
H A Dcms_asn1.c83 ASN1_IMP_SET_OF_OPT(CMS_SignedData, crls, CMS_RevocationInfoChoice, 1),
89 ASN1_IMP_SET_OF_OPT(CMS_OriginatorInfo, crls, CMS_RevocationInfoChoice, 1)
H A Dcms_sd.c89 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(sd->crls); i++) {
90 rch = sk_CMS_RevocationInfoChoice_value(sd->crls, i);
H A Dcms_env.c1047 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(org->crls); i++) {
1049 rch = sk_CMS_RevocationInfoChoice_value(org->crls, i);
/freebsd-current/crypto/openssl/apps/include/
H A Ds_apps.h72 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls,
77 const char *chCAstore, STACK_OF(X509_CRL) *crls,
H A Dapps.h141 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls,
/freebsd-current/crypto/openssl/test/
H A Dcrltest.c241 * Verify |leaf| certificate (chained up to |root|). |crls| if
246 static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls, argument
267 X509_STORE_CTX_set0_crls(ctx, crls);
282 sk_X509_CRL_pop_free(crls, X509_CRL_free);
/freebsd-current/crypto/openssl/apps/lib/
H A Ds_cb.c1276 static int add_crls_store(X509_STORE *st, STACK_OF(X509_CRL) *crls) argument
1281 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
1282 crl = sk_X509_CRL_value(crls, i);
1289 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls, int crl_download) argument
1294 add_crls_store(st, crls);
1305 STACK_OF(X509_CRL) *crls, int crl_download)
1320 add_crls_store(vfy, crls);
1300 ssl_load_stores(SSL_CTX *ctx, const char *vfyCApath, const char *vfyCAfile, const char *vfyCAstore, const char *chCApath, const char *chCAfile, const char *chCAstore, STACK_OF(X509_CRL) *crls, int crl_download) argument
H A Dapps.c816 * Initialize or extend, if *crls != NULL, a certificate stack.
817 * The caller is responsible for freeing *crls if its value is left not NULL.
819 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls, argument
822 int was_NULL = *crls == NULL;
825 NULL, NULL, NULL, crls);
828 sk_X509_CRL_pop_free(*crls, X509_CRL_free);
829 *crls = NULL;
2417 STACK_OF(X509_CRL) *crls = NULL;
2421 crls = sk_X509_CRL_new_null();
2422 if (!crls)
[all...]
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx509_vfy.c69 STACK_OF(X509_CRL) *crls);
1058 STACK_OF(X509_CRL) *crls)
1066 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
1067 crl = sk_X509_CRL_value(crls, i);
1101 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls);
1172 X509_CRL *base, STACK_OF(X509_CRL) *crls)
1181 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
1182 delta = sk_X509_CRL_value(crls, i);
1330 crl_ctx.crls = ctx->crls;
1056 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
1171 get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pscore, X509_CRL *base, STACK_OF(X509_CRL) *crls) argument
[all...]
/freebsd-current/crypto/openssl/include/crypto/
H A Dx509.h223 STACK_OF(X509_CRL) *crls; member in struct:x509_store_ctx_st
/freebsd-current/crypto/openssl/crypto/cmp/
H A Dcmp_asn.c287 ASN1_EXP_SEQUENCE_OF_OPT(OSSL_CMP_REVREPCONTENT, crls, X509_CRL, 1)
H A Dcmp_client.c869 /* check number of any optionally present crls */
870 if (rrep->crls != NULL && sk_X509_CRL_num(rrep->crls) != num_RevDetails) {
H A Dcmp_local.h317 * crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList
325 STACK_OF(X509_CRL) *crls; member in struct:ossl_cmp_revrepcontent_st

Completed in 233 milliseconds