Home
last modified time | relevance | path

Searched refs:store_ctx (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/test/
Ddanetest.c57 X509_STORE_CTX *store_ctx = NULL; in verify_chain() local
63 if (!TEST_ptr(store_ctx = X509_STORE_CTX_new()) in verify_chain()
66 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain)) in verify_chain()
67 || !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx, in verify_chain()
71 X509_STORE_CTX_set_default(store_ctx, SSL_is_server(ssl) in verify_chain()
73 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx), in verify_chain()
75 store_ctx_dane_init(store_ctx, ssl); in verify_chain()
78 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl)); in verify_chain()
81 if (!TEST_int_ge(ret = X509_STORE_CTX_verify(store_ctx), 0)) in verify_chain()
84 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx)); in verify_chain()
[all …]
Dossl_store_test.c159 OSSL_STORE_CTX *store_ctx = NULL; in test_store_attach_unregistered_scheme() local
169 && TEST_ptr(store_ctx = OSSL_STORE_attach(bio, "file", libctx, NULL, in test_store_attach_unregistered_scheme()
176 OSSL_STORE_close(store_ctx); in test_store_attach_unregistered_scheme()
/third_party/openssl/apps/
Dstoreutl.c357 OSSL_STORE_CTX *store_ctx = NULL; in process() local
360 if ((store_ctx = OSSL_STORE_open_ex(uri, libctx, app_get0_propq(), uimeth, uidata, in process()
369 if (!OSSL_STORE_expect(store_ctx, expected)) { in process()
376 if (!OSSL_STORE_supports_search(store_ctx, criterion)) { in process()
383 if (!OSSL_STORE_find(store_ctx, search)) { in process()
393 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx); in process()
399 if (OSSL_STORE_error(store_ctx)) { in process()
404 if (OSSL_STORE_eof(store_ctx)) in process()
410 if (OSSL_STORE_eof(store_ctx)) in process()
494 if (!OSSL_STORE_close(store_ctx)) { in process()
Dengine.c445 struct util_store_cap_data store_ctx; in engine_main() local
447 store_ctx.engine = e; in engine_main()
448 store_ctx.cap_buf = &cap_buf; in engine_main()
449 store_ctx.cap_size = &cap_size; in engine_main()
450 store_ctx.ok = 1; in engine_main()
452 OSSL_STORE_do_all_loaders(util_store_cap, &store_ctx); in engine_main()
453 if (!store_ctx.ok) in engine_main()
Dpkcs12.c1000 X509_STORE_CTX *store_ctx = NULL; in get_cert_chain() local
1004 store_ctx = X509_STORE_CTX_new_ex(app_get0_libctx(), app_get0_propq()); in get_cert_chain()
1005 if (store_ctx == NULL) { in get_cert_chain()
1009 if (!X509_STORE_CTX_init(store_ctx, store, cert, untrusted_certs)) { in get_cert_chain()
1015 if (X509_verify_cert(store_ctx) > 0) in get_cert_chain()
1016 chn = X509_STORE_CTX_get1_chain(store_ctx); in get_cert_chain()
1017 else if ((i = X509_STORE_CTX_get_error(store_ctx)) == 0) in get_cert_chain()
1021 X509_STORE_CTX_free(store_ctx); in get_cert_chain()
/third_party/openssl/crypto/x509/
Dby_file.c128 i = X509_STORE_add_cert(ctx->store_ctx, x); in X509_load_cert_file_ex()
141 i = X509_STORE_add_cert(ctx->store_ctx, x); in X509_load_cert_file_ex()
186 i = X509_STORE_add_crl(ctx->store_ctx, x); in X509_load_crl_file()
200 i = X509_STORE_add_crl(ctx->store_ctx, x); in X509_load_crl_file()
240 if (!X509_STORE_add_cert(ctx->store_ctx, itmp->x509)) in X509_load_cert_crl_file_ex()
245 if (!X509_STORE_add_crl(ctx->store_ctx, itmp->crl)) in X509_load_cert_crl_file_ex()
Dby_dir.c351 X509_STORE_lock(xl->store_ctx); in get_cert_by_subject_ex()
352 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); in get_cert_by_subject_ex()
353 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); in get_cert_by_subject_ex()
354 X509_STORE_unlock(xl->store_ctx); in get_cert_by_subject_ex()
Dx509_local.h106 X509_STORE *store_ctx; /* who owns us */ member
Dx509_lu.c154 return ctx->store_ctx; in X509_LOOKUP_get_store()
284 lu->store_ctx = v; in X509_STORE_add_lookup()
/third_party/flutter/skia/tests/
DSkRasterPipelineTest.cpp23 store_ctx = { &result, 0 }; in DEF_TEST() local
29 p.append(SkRasterPipeline::store_f16, &store_ctx); in DEF_TEST()
/third_party/skia/tests/
DSkRasterPipelineTest.cpp23 store_ctx = { &result, 0 }; in DEF_TEST() local
29 p.append(SkRasterPipeline::store_f16, &store_ctx); in DEF_TEST()
/third_party/node/src/
Dnode_crypto_common.cc53 DeleteFnPtr<X509_STORE_CTX, X509_STORE_CTX_free> store_ctx( in SSL_CTX_get_issuer() local
55 return store_ctx.get() != nullptr && in SSL_CTX_get_issuer()
56 X509_STORE_CTX_init(store_ctx.get(), store, nullptr, nullptr) == 1 && in SSL_CTX_get_issuer()
57 X509_STORE_CTX_get1_issuer(issuer, store_ctx.get(), cert) == 1; in SSL_CTX_get_issuer()
/third_party/chromium/patch/
D0003-ohos-1115.patch55709 + // Create X509_LOOKUP, the store_ctx member of this data structure is