/openbsd/regress/lib/libcrypto/x509/ |
H A D | expirecallback.c | 116 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 D | verify.c | 107 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 D | x509_verify.c | 216 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 D | x509_vfy.c | 171 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 D | x509_internal.h | 82 size_t error_depth; /* Depth of last error seen */ member
|
H A D | x509_local.h | 360 int error_depth; member
|
H A D | x509_asid.c | 1076 ctx->error_depth = i; \
|
H A D | x509_addr.c | 1855 ctx->error_depth = depth; in verify_error()
|
/openbsd/regress/lib/libcrypto/x509/policy/ |
H A D | policy.c | 120 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 D | ssltest.c | 1377 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()
|