Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1755 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
1793 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()
1794 preverify_ok = 1; in tls_verify_cb()
1795 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()
1796 preverify_ok = 1; in tls_verify_cb()
1797 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()
1802 preverify_ok = 1; in tls_verify_cb()
1818 preverify_ok = 0; in tls_verify_cb()
1829 preverify_ok = 0; in tls_verify_cb()
1830 } else if (!preverify_ok) { in tls_verify_cb()
[all …]
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c979 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument
996 preverify_ok); in curl_cb_ssl_verify()
1021 if (depth == 0 && preverify_ok && validate_server_cert(ctx, cert) < 0) in curl_cb_ssl_verify()
1025 if (depth == 0 && ctx->ocsp != NO_OCSP && preverify_ok) { in curl_cb_ssl_verify()
1031 preverify_ok = 0; in curl_cb_ssl_verify()
1037 preverify_ok = 0; in curl_cb_ssl_verify()
1044 if (!preverify_ok) in curl_cb_ssl_verify()
1047 return preverify_ok; in curl_cb_ssl_verify()