Home
last modified time | relevance | path

Searched refs:error_depth (Results 1 – 10 of 10) sorted by relevance

/openbsd/regress/lib/libcrypto/x509/
H A Dexpirecallback.c116 const char *bundle_file, int *chains, int *error, int *error_depth, in verify_cert() argument
128 *error_depth = 0; in verify_cert()
167 *error_depth = X509_STORE_CTX_get_error_depth(xsc); in verify_cert()
178 *error_depth, X509_verify_cert_error_string(*error)); in verify_cert()
234 int chains, error, error_depth; in verify_cert_test() local
252 &error_depth, mode); in verify_cert_test()
274 if (error_depth != vct->want_legacy_error_depth) { in verify_cert_test()
276 "%d, want %d\n", error_depth, in verify_cert_test()
286 if (error_depth != vct->want_error_depth) { in verify_cert_test()
288 " %d\n", error_depth, vct->want_error_depth); in verify_cert_test()
H A Dverify.c107 const char *bundle_file, int *chains, int *error, int *error_depth, in verify_cert() argument
119 *error_depth = 0; in verify_cert()
157 *error_depth = X509_STORE_CTX_get_error_depth(xsc); in verify_cert()
168 *error_depth, X509_verify_cert_error_string(*error)); in verify_cert()
473 int chains, error, error_depth; in verify_cert_test() local
490 error_depth = 0; in verify_cert_test()
497 &error, &error_depth, mode); in verify_cert_test()
519 if (error_depth != vct->want_legacy_error_depth) { in verify_cert_test()
521 "%d, want %d\n", error_depth, in verify_cert_test()
531 if (error_depth != vct->want_error_depth) { in verify_cert_test()
[all …]
/openbsd/lib/libcrypto/x509/
H A Dx509_verify.c216 ctx->error_depth = 0; in x509_verify_ctx_reset()
322 ctx->xsc->error_depth = 0; in x509_verify_ctx_set_xsc_chain()
396 ctx->xsc->error_depth = 0; in x509_verify_ctx_validate_legacy_chain()
459 ctx->error_depth = ctx->xsc->error_depth; in x509_verify_ctx_validate_legacy_chain()
495 if (ctx->error_depth == 0 && in x509_verify_ctx_add_chain()
516 ctx->error_depth = depth; in x509_verify_ctx_add_chain()
636 ctx->error_depth = depth; in x509_verify_cert_error()
673 ctx->error_depth = depth; in x509_verify_build_chains()
1082 return ctx->error_depth; in x509_verify_ctx_error_depth()
1135 ctx->xsc->error_depth = 0; in x509_verify()
[all …]
H A Dx509_vfy.c171 ctx->error_depth = 0; in check_id_error()
741 ctx->error_depth = i; in x509_vfy_check_chain_extensions()
765 ctx->error_depth = i; in x509_vfy_check_chain_extensions()
777 ctx->error_depth = i; in x509_vfy_check_chain_extensions()
789 ctx->error_depth = i; in x509_vfy_check_chain_extensions()
811 &ctx->error_depth)) { in check_name_constraints()
879 ctx->error_depth = i; in x509_vfy_check_trust()
1562 cnum = ctx->error_depth; in x509_vfy_check_crl()
1811 ctx->error_depth = n; in x509_vfy_internal_verify()
1857 ctx->error_depth = n; in x509_vfy_internal_verify()
[all …]
H A Dx509_internal.h82 size_t error_depth; /* Depth of last error seen */ member
H A Dx509_local.h360 int error_depth; member
H A Dx509_asid.c1076 ctx->error_depth = i; \
H A Dx509_addr.c1855 ctx->error_depth = depth; in verify_error()
/openbsd/regress/lib/libcrypto/x509/policy/
H A Dpolicy.c120 const char *leaf_file, int *chains, int *error, int *error_depth, in verify_cert() argument
132 *error_depth = 0; in verify_cert()
177 *error_depth = X509_STORE_CTX_get_error_depth(xsc); in verify_cert()
188 *error_depth, X509_verify_cert_error_string(*error)); in verify_cert()
603 int chains, error, error_depth; in verify_cert_test() local
615 error_depth = 0; in verify_cert_test()
619 vct->leaf_file, &chains, &error, &error_depth, in verify_cert_test()
641 if (error_depth != vct->want_legacy_error_depth) { in verify_cert_test()
643 "%d, want %d\n", error_depth, in verify_cert_test()
/openbsd/regress/lib/libssl/ssl/
H A Dssltest.c1377 int error, error_depth; in verify_callback() local
1382 error_depth = X509_STORE_CTX_get_error_depth(ctx); in verify_callback()
1385 fprintf(stderr, "depth=%d %s\n", error_depth, buf); in verify_callback()
1387 fprintf(stderr, "depth=%d error=%d %s\n", error_depth, in verify_callback()