Home
last modified time | relevance | path

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

/openbsd/usr.sbin/rpki-client/
H A Dvalidate.c387 assert(store_ctx != NULL); in valid_x509()
389 if (!X509_STORE_CTX_init(store_ctx, NULL, x509, NULL)) in valid_x509()
405 X509_STORE_CTX_set_flags(store_ctx, flags); in valid_x509()
406 X509_STORE_CTX_set_depth(store_ctx, MAX_CERT_DEPTH); in valid_x509()
411 X509_STORE_CTX_set0_untrusted(store_ctx, intermediates); in valid_x509()
412 X509_STORE_CTX_set0_trusted_stack(store_ctx, root); in valid_x509()
413 X509_STORE_CTX_set0_crls(store_ctx, crls); in valid_x509()
415 if (X509_verify_cert(store_ctx) <= 0) { in valid_x509()
416 error = X509_STORE_CTX_get_error(store_ctx); in valid_x509()
420 X509_STORE_CTX_cleanup(store_ctx); in valid_x509()
[all …]
/openbsd/lib/libcrypto/x509/
H A Dby_file.c139 i = X509_STORE_add_cert(ctx->store_ctx, x); in X509_load_cert_file()
153 i = X509_STORE_add_cert(ctx->store_ctx, x); in X509_load_cert_file()
196 i = X509_STORE_add_crl(ctx->store_ctx, x); in X509_load_crl_file()
210 i = X509_STORE_add_crl(ctx->store_ctx, x); in X509_load_crl_file()
249 X509_STORE_add_cert(ctx->store_ctx, itmp->x509); in X509_load_cert_crl_file()
253 X509_STORE_add_crl(ctx->store_ctx, itmp->crl); in X509_load_cert_crl_file()
H A Dby_mem.c114 ok = X509_STORE_add_cert(lu->store_ctx, itmp->x509); in by_mem_ctrl()
120 ok = X509_STORE_add_crl(lu->store_ctx, itmp->crl); in by_mem_ctrl()
H A Dby_dir.c357 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); in get_cert_by_subject()
358 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); in get_cert_by_subject()
H A Dx509_local.h310 X509_STORE *store_ctx; /* who owns us */ member
H A Dx509_lu.c265 lu->store_ctx = store; in X509_STORE_add_lookup()
/openbsd/usr.bin/openssl/
H A Dpkcs12.c989 X509_STORE_CTX *store_ctx = NULL; in get_cert_chain() local
993 if ((store_ctx = X509_STORE_CTX_new()) == NULL) in get_cert_chain()
995 if (!X509_STORE_CTX_init(store_ctx, store, cert, NULL)) in get_cert_chain()
998 if (X509_verify_cert(store_ctx) > 0) { in get_cert_chain()
999 if ((chain = X509_STORE_CTX_get1_chain(store_ctx)) == NULL) in get_cert_chain()
1002 ret = X509_STORE_CTX_get_error(store_ctx); in get_cert_chain()
1005 X509_STORE_CTX_free(store_ctx); in get_cert_chain()