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.c1782 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
1820 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()
1821 preverify_ok = 1; in tls_verify_cb()
1822 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()
1823 preverify_ok = 1; in tls_verify_cb()
1824 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()
1829 preverify_ok = 1; in tls_verify_cb()
1845 preverify_ok = 0; in tls_verify_cb()
1856 preverify_ok = 0; in tls_verify_cb()
1857 } else if (!preverify_ok) { in tls_verify_cb()
[all …]
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c977 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument
994 preverify_ok); in curl_cb_ssl_verify()
1019 if (depth == 0 && preverify_ok && validate_server_cert(ctx, cert) < 0) in curl_cb_ssl_verify()
1023 if (depth == 0 && ctx->ocsp != NO_OCSP && preverify_ok) { in curl_cb_ssl_verify()
1029 preverify_ok = 0; in curl_cb_ssl_verify()
1035 preverify_ok = 0; in curl_cb_ssl_verify()
1042 if (!preverify_ok) in curl_cb_ssl_verify()
1045 return preverify_ok; in curl_cb_ssl_verify()