• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/wpa/src/crypto/

Lines Matching defs:depth

828 				   WOLFSSL_X509 *err_cert, int err, int depth,
843 ev.cert_fail.depth = depth;
853 WOLFSSL_X509 *err_cert, int depth,
892 ev.peer_cert.depth = depth;
948 int err, depth;
962 depth = wolfSSL_X509_STORE_CTX_get_error_depth(x509_ctx);
974 if (depth == 0)
976 else if (depth == 1)
978 else if (depth == 2)
989 if (!preverify_ok && depth > 0 && conn->server_cert_only)
1007 if (depth == 0 && conn->server_cert_only) {
1043 "TLS: Certificate verification failed, error %d (%s) depth %d for '%s'",
1044 err, err_str, depth, buf);
1045 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1051 "TLS: %s - preverify_ok=%d err=%d (%s) ca_cert_verify=%d depth=%d buf='%s'",
1053 conn->ca_cert_verify, depth, buf);
1054 if (depth == 0 && match && os_strstr(buf, match) == NULL) {
1059 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1062 } else if (depth == 0 && altmatch &&
1068 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1071 } else if (depth == 0 && suffix_match &&
1077 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1080 } else if (depth == 0 && domain_match &&
1085 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1089 wolfssl_tls_cert_event(conn, err_cert, depth, buf);
1092 if (conn->cert_probe && preverify_ok && depth == 0) {
1096 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1102 if (depth == 0 && (conn->flags & TLS_CONN_REQUEST_OCSP) &&
1111 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1120 wolfssl_tls_fail_event(conn, err_cert, err, depth, buf,
1126 if (depth == 0 && preverify_ok && context->event_cb != NULL)