/openssl/fuzz/ |
H A D | x509.c | 44 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 D | pkcs7.c | 152 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 D | verify.c | 24 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 D | s_server.c | 1021 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 D | s_client.c | 859 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 D | cmp_genm.c | 357 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 D | cmp_asn.c | 131 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 D | cmp_local.h | 302 STACK_OF(X509_CRL) *crls; 379 STACK_OF(X509_CRL) *crls;
|
/openssl/crypto/cms/ |
H A D | cms_lib.c | 558 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 D | cms_smime.c | 265 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 D | cms_sd.c | 86 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 D | cms_local.h | 77 STACK_OF(CMS_RevocationInfoChoice) *crls; 123 STACK_OF(CMS_RevocationInfoChoice) *crls;
|
H A D | cms_asn1.c | 84 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 D | crltest.c | 253 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 D | s_apps.h | 77 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 D | s_cb.c | 1363 static int add_crls_store(X509_STORE *st, STACK_OF(X509_CRL) *crls) in add_crls_store() argument 1368 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in add_crls_store() 1369 crl = sk_X509_CRL_value(crls, i); in add_crls_store() 1376 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls, int crl_download) in ssl_ctx_add_crls() argument 1381 add_crls_store(st, crls); in ssl_ctx_add_crls() 1392 STACK_OF(X509_CRL) *crls, int crl_download) in ssl_load_stores() 1407 add_crls_store(vfy, crls); in ssl_load_stores()
|
H A D | apps.c | 877 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() 2478 STACK_OF(X509_CRL) *crls = NULL; in STACK_OF() 2482 crls = sk_X509_CRL_new_null(); in STACK_OF() 2483 if (!crls) in STACK_OF() 2490 sk_X509_CRL_free(crls); in STACK_OF() 2493 sk_X509_CRL_push(crls, crl); in STACK_OF() 2499 sk_X509_CRL_push(crls, crl); in STACK_OF() [all …]
|
/openssl/doc/man1/ |
H A D | openssl-storeutl.pod.in | 23 [B<-crls>] 76 =item B<-crls>
|
/openssl/crypto/x509/ |
H A D | x509_vfy.c | 74 STACK_OF(X509_CRL) *crls); 1123 STACK_OF(X509_CRL) *crls) in get_crl_sk() 1131 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_crl_sk() 1132 crl = sk_X509_CRL_value(crls, i); in get_crl_sk() 1166 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); in get_crl_sk() 1246 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_delta_sk() 1247 delta = sk_X509_CRL_value(crls, i); in get_delta_sk() 1395 crl_ctx.crls = ctx->crls; in check_crl_path() 1562 &issuer, &crl_score, &reasons, ctx->crls); in get_crl_delta() 2303 ctx->crls = sk; in X509_STORE_CTX_set0_crls() [all …]
|
/openssl/doc/man3/ |
H A D | CMS_verify.pod | 16 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 D | CMS_add0_cert.pod | 52 I<crls> fields of SignedData structure.
|
H A D | OSSL_CMP_ITAV_new_caCerts.pod | 166 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 D | pk7_doit.c | 1007 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 D | pkcs7.h.in | 91 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 D | x509.h | 223 STACK_OF(X509_CRL) *crls;
|