Home
last modified time | relevance | path

Searched refs:preverify_ok (Results 1 – 3 of 3) sorted by relevance

/hostap-3.6.0/src/crypto/
Dtls_wolfssl.c951 static int tls_verify_cb(int preverify_ok, WOLFSSL_X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
994 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()
995 preverify_ok = 1; in tls_verify_cb()
996 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()
997 preverify_ok = 1; in tls_verify_cb()
998 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()
1004 preverify_ok = 1; in tls_verify_cb()
1021 preverify_ok = 0; in tls_verify_cb()
1033 preverify_ok = 0; in tls_verify_cb()
1034 } else if (!preverify_ok) { in tls_verify_cb()
[all …]
Dtls_openssl.c2340 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
2381 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()
2382 preverify_ok = 1; in tls_verify_cb()
2383 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()
2384 preverify_ok = 1; in tls_verify_cb()
2385 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()
2390 preverify_ok = 1; in tls_verify_cb()
2392 if (!preverify_ok && !conn->data->check_crl_strict && in tls_verify_cb()
2397 preverify_ok = 1; in tls_verify_cb()
2413 preverify_ok = 0; in tls_verify_cb()
[all …]
/hostap-3.6.0/src/utils/
Dhttp_curl.c993 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument
1010 preverify_ok); in curl_cb_ssl_verify()
1035 if (depth == 0 && preverify_ok && validate_server_cert(ctx, cert) < 0) in curl_cb_ssl_verify()
1039 if (depth == 0 && ctx->ocsp != NO_OCSP && preverify_ok) { in curl_cb_ssl_verify()
1045 preverify_ok = 0; in curl_cb_ssl_verify()
1051 preverify_ok = 0; in curl_cb_ssl_verify()
1058 if (!preverify_ok) in curl_cb_ssl_verify()
1061 return preverify_ok; in curl_cb_ssl_verify()