Searched refs:preverify_ok (Results 1 – 4 of 4) sorted by relevance
944 static int tls_verify_cb(int preverify_ok, WOLFSSL_X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument987 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()988 preverify_ok = 1; in tls_verify_cb()989 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()990 preverify_ok = 1; in tls_verify_cb()991 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()997 preverify_ok = 1; in tls_verify_cb()1014 preverify_ok = 0; in tls_verify_cb()1026 preverify_ok = 0; in tls_verify_cb()1027 } else if (!preverify_ok) { in tls_verify_cb()[all …]
2272 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument2311 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()2312 preverify_ok = 1; in tls_verify_cb()2313 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()2314 preverify_ok = 1; in tls_verify_cb()2315 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()2320 preverify_ok = 1; in tls_verify_cb()2322 if (!preverify_ok && !conn->data->check_crl_strict && in tls_verify_cb()2327 preverify_ok = 1; in tls_verify_cb()2343 preverify_ok = 0; in tls_verify_cb()[all …]
993 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument1010 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()
759 static int NullVerifyCallback(int preverify_ok, X509_STORE_CTX* ctx) { in NullVerifyCallback() argument