Home
last modified time | relevance | path

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

12

/openssl/fuzz/
H A Dx509.c44 STACK_OF(X509_CRL) *crls = NULL; in FuzzerTestOneInput()
100 crls = sk_X509_CRL_new_null(); in FuzzerTestOneInput()
101 if (crls == NULL) in FuzzerTestOneInput()
104 sk_X509_CRL_push(crls, crl); in FuzzerTestOneInput()
105 X509_STORE_CTX_set0_crls(ctx, crls); in FuzzerTestOneInput()
143 sk_X509_CRL_free(crls); in FuzzerTestOneInput()
/openssl/apps/
H A Dpkcs7.c152 STACK_OF(X509_CRL) *crls = NULL; in pkcs7_main()
159 crls = p7->d.sign->crl; in pkcs7_main()
165 crls = p7->d.signed_and_enveloped->crl; in pkcs7_main()
187 if (crls != NULL) { in pkcs7_main()
190 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_main()
191 crl = sk_X509_CRL_value(crls, i); in pkcs7_main()
H A Dverify.c24 STACK_OF(X509_CRL) *crls, int show_chain,
83 STACK_OF(X509_CRL) *crls = NULL; in verify_main()
162 if (!load_crls(opt_arg(), &crls, NULL, "other CRLs")) in verify_main()
224 if (check(store, NULL, untrusted, trusted, crls, show_chain, in verify_main()
229 if (check(store, argv[i], untrusted, trusted, crls, show_chain, in verify_main()
239 sk_X509_CRL_pop_free(crls, X509_CRL_free); in verify_main()
247 STACK_OF(X509_CRL) *crls, int show_chain, in check()
289 if (crls != NULL) in check()
290 X509_STORE_CTX_set0_crls(csc, crls); in check()
H A Ds_server.c1021 STACK_OF(X509_CRL) *crls = NULL; in s_server_main()
1857 crls = sk_X509_CRL_new_null(); in s_server_main()
1858 if (crls == NULL || !sk_X509_CRL_push(crls, crl)) { in s_server_main()
2037 ssl_ctx_add_crls(ctx, crls, 0); in s_server_main()
2042 crls, crl_download)) { in s_server_main()
2100 ssl_ctx_add_crls(ctx2, crls, 0); in s_server_main()
2347 sk_X509_CRL_pop_free(crls, X509_CRL_free); in s_server_main()
H A Ds_client.c859 STACK_OF(X509_CRL) *crls = NULL; in s_client_main()
1771 crls = sk_X509_CRL_new_null(); in s_client_main()
1772 if (crls == NULL || !sk_X509_CRL_push(crls, crl)) { in s_client_main()
1897 crls, crl_download)) { in s_client_main()
2031 ssl_ctx_add_crls(ctx, crls, crl_download); in s_client_main()
3329 sk_X509_CRL_pop_free(crls, X509_CRL_free); in s_client_main()
/openssl/crypto/cmp/
H A Dcmp_genm.c357 STACK_OF(X509_CRL) *crls = NULL; in OSSL_CMP_get1_crlUpdate()
384 if (!OSSL_CMP_ITAV_get0_crls(itav, &crls)) in OSSL_CMP_get1_crlUpdate()
387 if (crls == NULL) { /* no CRL update available */ in OSSL_CMP_get1_crlUpdate()
391 if (sk_X509_CRL_num(crls) != 1) { in OSSL_CMP_get1_crlUpdate()
394 sk_X509_CRL_num(crls)); in OSSL_CMP_get1_crlUpdate()
398 if ((*crl = sk_X509_CRL_value(crls, 0)) == NULL || !X509_CRL_up_ref(*crl)) { in OSSL_CMP_get1_crlUpdate()
H A Dcmp_asn.c131 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_ITAV, infoValue.crls, X509_CRL))
793 STACK_OF(X509_CRL) *crls = NULL; in OSSL_CMP_ITAV_new_crls()
799 if ((crls = sk_X509_CRL_new_reserve(NULL, 1)) == NULL in OSSL_CMP_ITAV_new_crls()
802 (void)sk_X509_CRL_push(crls, crl_copy); /* cannot fail */ in OSSL_CMP_ITAV_new_crls()
806 itav->infoValue.crls = crls; in OSSL_CMP_ITAV_new_crls()
810 sk_X509_CRL_free(crls); in OSSL_CMP_ITAV_new_crls()
825 *out = itav->infoValue.crls; in OSSL_CMP_ITAV_get0_crls()
921 ASN1_EXP_SEQUENCE_OF_OPT(OSSL_CMP_REVREPCONTENT, crls, X509_CRL, 1)
H A Dcmp_local.h302 STACK_OF(X509_CRL) *crls;
379 STACK_OF(X509_CRL) *crls;
/openssl/crypto/cms/
H A Dcms_lib.c558 return &cms->d.signedData->crls; in STACK_OF()
563 return &cms->d.envelopedData->originatorInfo->crls; in STACK_OF()
568 return &cms->d.authEnvelopedData->originatorInfo->crls; in STACK_OF()
651 STACK_OF(X509_CRL) *crls = NULL; in STACK_OF()
662 if ((crls = sk_X509_CRL_new_reserve(NULL, n)) == NULL) in STACK_OF()
668 if (!sk_X509_CRL_push(crls, rch->d.crl) in STACK_OF()
670 sk_X509_CRL_pop_free(crls, X509_CRL_free); in STACK_OF()
675 return crls; in STACK_OF()
H A Dcms_smime.c265 STACK_OF(X509_CRL) *crls, in cms_signerinfo_verify_cert()
285 if (crls != NULL) in cms_signerinfo_verify_cert()
286 X509_STORE_CTX_set0_crls(ctx, crls); in cms_signerinfo_verify_cert()
313 STACK_OF(X509_CRL) *crls = NULL; in CMS_verify()
373 && (crls = CMS_get1_crls(cms)) == NULL) in CMS_verify()
378 if (!cms_signerinfo_verify_cert(si, store, untrusted, crls, in CMS_verify()
495 sk_X509_CRL_pop_free(crls, X509_CRL_free); in CMS_verify()
H A Dcms_sd.c86 for (i = 0; i < sk_CMS_RevocationInfoChoice_num(sd->crls); i++) { in cms_sd_set_version()
87 rch = sk_CMS_RevocationInfoChoice_value(sd->crls, i); in cms_sd_set_version()
1078 STACK_OF(X509) *extra, STACK_OF(X509_CRL) *crls, in CMS_SignedData_verify()
1101 for (i = 0; i < sk_X509_CRL_num(crls); i++) in CMS_SignedData_verify()
1102 if (!CMS_add1_crl(ci, sk_X509_CRL_value(crls, i))) in CMS_SignedData_verify()
H A Dcms_local.h77 STACK_OF(CMS_RevocationInfoChoice) *crls;
123 STACK_OF(CMS_RevocationInfoChoice) *crls;
H A Dcms_asn1.c84 ASN1_IMP_SET_OF_OPT(CMS_SignedData, crls, CMS_RevocationInfoChoice, 1),
91 ASN1_IMP_SET_OF_OPT(CMS_OriginatorInfo, crls, CMS_RevocationInfoChoice, 1)
/openssl/test/
H A Dcrltest.c253 static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls, in verify() argument
274 X509_STORE_CTX_set0_crls(ctx, crls); in verify()
289 sk_X509_CRL_pop_free(crls, X509_CRL_free); in verify()
/openssl/apps/include/
H A Ds_apps.h77 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls,
82 const char *chCAstore, STACK_OF(X509_CRL) *crls,
/openssl/apps/lib/
H A Ds_cb.c1364 static int add_crls_store(X509_STORE *st, STACK_OF(X509_CRL) *crls) in add_crls_store() argument
1369 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in add_crls_store()
1370 crl = sk_X509_CRL_value(crls, i); in add_crls_store()
1377 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls, int crl_download) in ssl_ctx_add_crls() argument
1382 add_crls_store(st, crls); in ssl_ctx_add_crls()
1393 STACK_OF(X509_CRL) *crls, int crl_download) in ssl_load_stores()
1408 add_crls_store(vfy, crls); in ssl_load_stores()
H A Dapps.c877 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls, in load_crls() argument
880 int ret, was_NULL = *crls == NULL; in load_crls()
888 sk_X509_CRL_pop_free(*crls, X509_CRL_free); in load_crls()
889 *crls = NULL; in load_crls()
2507 STACK_OF(X509_CRL) *crls = NULL; in STACK_OF()
2511 crls = sk_X509_CRL_new_null(); in STACK_OF()
2512 if (!crls) in STACK_OF()
2519 sk_X509_CRL_free(crls); in STACK_OF()
2522 sk_X509_CRL_push(crls, crl); in STACK_OF()
2528 sk_X509_CRL_push(crls, crl); in STACK_OF()
[all …]
/openssl/doc/man1/
H A Dopenssl-storeutl.pod.in23 [B<-crls>]
76 =item B<-crls>
/openssl/crypto/x509/
H A Dx509_vfy.c72 STACK_OF(X509_CRL) *crls);
1156 STACK_OF(X509_CRL) *crls) in get_crl_sk()
1164 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_crl_sk()
1165 crl = sk_X509_CRL_value(crls, i); in get_crl_sk()
1199 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); in get_crl_sk()
1279 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_delta_sk()
1280 delta = sk_X509_CRL_value(crls, i); in get_delta_sk()
1428 crl_ctx.crls = ctx->crls; in check_crl_path()
1595 &issuer, &crl_score, &reasons, ctx->crls); in get_crl_delta()
2336 ctx->crls = sk; in X509_STORE_CTX_set0_crls()
[all …]
/openssl/doc/man3/
H A DCMS_verify.pod16 STACK_OF(X509) *extra, STACK_OF(X509_CRL) *crls,
47 The optional I<crls> parameter may be used to provide extra CRLs.
90 CRLs in the message itself and provided via the I<crls> parameter are ignored.
H A DCMS_add0_cert.pod52 I<crls> fields of SignedData structure.
H A DOSSL_CMP_ITAV_new_caCerts.pod166 of type B<crls> including an empty list of CRLs if the I<crl> argument is NULL
172 It is an error if the infoType of I<itav> is not B<crls>.
/openssl/crypto/pkcs7/
H A Dpk7_doit.c1007 STACK_OF(X509_CRL) *crls; in PKCS7_dataVerify()
1022 crls = p7->d.sign->crl; in PKCS7_dataVerify()
1025 crls = p7->d.signed_and_enveloped->crl; in PKCS7_dataVerify()
1030 X509_STORE_CTX_set0_crls(ctx, crls); in PKCS7_dataVerify()
/openssl/include/openssl/
H A Dpkcs7.h.in91 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ /* name should be 'crls' */
118 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ /* name should be 'crls' */
/openssl/include/crypto/
H A Dx509.h223 STACK_OF(X509_CRL) *crls;

Completed in 219 milliseconds

12