Searched refs:store_ctx (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/ldns/
H A Ddane.c608 X509_STORE_CTX *store_ctx = NULL; local
663 else if (!(store_ctx = X509_STORE_CTX_new()))
666 else if (!X509_STORE_CTX_init(store_ctx, pkix_validation_store, cert, extra_certs))
672 X509_STORE_CTX_set_default(store_ctx,
674 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
676 X509_STORE_CTX_set0_dane(store_ctx, SSL_get0_dane(ssl));
678 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl));
680 ret = X509_verify_cert(store_ctx);
682 if (X509_STORE_CTX_get_error(store_ctx) == X509_V_ERR_DANE_NO_MATCH)
687 X509_STORE_CTX_cleanup(store_ctx);
793 X509_STORE_CTX *store_ctx = NULL; local
[all...]
/freebsd-12-stable/crypto/openssl/apps/
H A Dstoreutl.c341 OSSL_STORE_CTX *store_ctx = NULL; local
344 if ((store_ctx = OSSL_STORE_open(uri, uimeth, uidata, NULL, NULL))
352 if (!OSSL_STORE_expect(store_ctx, expected)) {
359 if (!OSSL_STORE_supports_search(store_ctx, criterion)) {
366 if (!OSSL_STORE_find(store_ctx, search)) {
376 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx);
382 if (OSSL_STORE_eof(store_ctx))
385 if (OSSL_STORE_error(store_ctx)) {
467 if (!OSSL_STORE_close(store_ctx)) {
H A Dengine.c436 struct util_store_cap_data store_ctx; local
438 store_ctx.engine = e;
439 store_ctx.cap_buf = &cap_buf;
440 store_ctx.cap_size = &cap_size;
441 store_ctx.ok = 1;
443 OSSL_STORE_do_all_loaders(util_store_cap, &store_ctx);
444 if (!store_ctx.ok)
H A Dpkcs12.c749 X509_STORE_CTX *store_ctx = NULL; local
753 store_ctx = X509_STORE_CTX_new();
754 if (store_ctx == NULL) {
758 if (!X509_STORE_CTX_init(store_ctx, store, cert, NULL)) {
764 if (X509_verify_cert(store_ctx) > 0)
765 chn = X509_STORE_CTX_get1_chain(store_ctx);
766 else if ((i = X509_STORE_CTX_get_error(store_ctx)) == 0)
770 X509_STORE_CTX_free(store_ctx);
/freebsd-12-stable/crypto/openssl/crypto/x509/
H A Dby_file.c101 i = X509_STORE_add_cert(ctx->store_ctx, x);
115 i = X509_STORE_add_cert(ctx->store_ctx, x);
158 i = X509_STORE_add_crl(ctx->store_ctx, x);
172 i = X509_STORE_add_crl(ctx->store_ctx, x);
211 if (!X509_STORE_add_cert(ctx->store_ctx, itmp->x509))
216 if (!X509_STORE_add_crl(ctx->store_ctx, itmp->crl))
H A Dby_dir.c330 X509_STORE_lock(xl->store_ctx);
331 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp);
332 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j);
333 X509_STORE_unlock(xl->store_ctx);
H A Dx509_local.h97 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
H A Dx509_lu.c134 return ctx->store_ctx;
265 lu->store_ctx = v;
/freebsd-12-stable/crypto/heimdal/lib/hx509/
H A Dks_file.c526 struct store_ctx { struct
534 struct store_ctx *sc = ctx;
572 struct store_ctx sc;
/freebsd-12-stable/contrib/serf/buckets/
H A Dssl_buckets.c587 validate_server_certificate(int cert_valid, X509_STORE_CTX *store_ctx) argument
596 ssl = X509_STORE_CTX_get_ex_data(store_ctx,
600 server_cert = X509_STORE_CTX_get_current_cert(store_ctx);
601 depth = X509_STORE_CTX_get_error_depth(store_ctx);
606 err = X509_STORE_CTX_get_error(store_ctx);
684 chain = X509_STORE_CTX_get_chain(store_ctx);

Completed in 153 milliseconds