Searched refs:preverify_ok (Results 1 – 3 of 3) sorted by relevance
1497 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument1535 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()1536 preverify_ok = 1; in tls_verify_cb()1537 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()1538 preverify_ok = 1; in tls_verify_cb()1539 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()1544 preverify_ok = 1; in tls_verify_cb()1560 preverify_ok = 0; in tls_verify_cb()1571 preverify_ok = 0; in tls_verify_cb()1572 } else if (!preverify_ok) { in tls_verify_cb()[all …]
939 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument956 preverify_ok); in curl_cb_ssl_verify()981 if (depth == 0 && preverify_ok && validate_server_cert(ctx, cert) < 0) in curl_cb_ssl_verify()984 if (!preverify_ok) in curl_cb_ssl_verify()987 return preverify_ok; in curl_cb_ssl_verify()
199 static int SkipVerify(int preverify_ok, X509_STORE_CTX *store_ctx) { in SkipVerify() argument