/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | tls_wolfssl.c | 944 static int tls_verify_cb(int preverify_ok, WOLFSSL_X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument 987 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 …]
|
D | tls_openssl.c | 2297 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument 2336 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb() 2337 preverify_ok = 1; in tls_verify_cb() 2338 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb() 2339 preverify_ok = 1; in tls_verify_cb() 2340 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb() 2345 preverify_ok = 1; in tls_verify_cb() 2347 if (!preverify_ok && !conn->data->check_crl_strict && in tls_verify_cb() 2352 preverify_ok = 1; in tls_verify_cb() 2368 preverify_ok = 0; in tls_verify_cb() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | tls_wolfssl.c | 951 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 …]
|
D | tls_openssl.c | 2343 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument 2384 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb() 2385 preverify_ok = 1; in tls_verify_cb() 2386 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb() 2387 preverify_ok = 1; in tls_verify_cb() 2388 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb() 2393 preverify_ok = 1; in tls_verify_cb() 2395 if (!preverify_ok && !conn->data->check_crl_strict && in tls_verify_cb() 2400 preverify_ok = 1; in tls_verify_cb() 2416 preverify_ok = 0; in tls_verify_cb() [all …]
|
/third_party/openssl/doc/man3/ |
D | SSL_CTX_set_verify.pod | 18 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); 157 receives two arguments: B<preverify_ok> indicates, whether the verification of 158 the certificate in question was passed (preverify_ok=1) or not 159 (preverify_ok=0). B<x509_ctx> is a pointer to the complete context used 166 and B<verify_callback> is called with B<preverify_ok>=0. By applying 169 found for a certificate, B<verify_callback> is called with B<preverify_ok>=1 185 Its return value is identical to B<preverify_ok>, so that any verification 244 static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) 275 preverify_ok = 0; 279 if (!preverify_ok) { [all …]
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-client.c | 90 OpenSSL_client_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx) in OpenSSL_client_verify_callback() argument 97 if (!preverify_ok) { in OpenSSL_client_verify_callback() 190 x509_ctx, ssl, (unsigned int)preverify_ok); in OpenSSL_client_verify_callback() 196 if (!preverify_ok) { in OpenSSL_client_verify_callback() 208 "depth=%d)\n", msg, preverify_ok, err, depth); in OpenSSL_client_verify_callback() 222 return preverify_ok; // not ok in OpenSSL_client_verify_callback()
|
D | openssl-server.c | 38 OpenSSL_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx) in OpenSSL_verify_callback() argument 64 x509_ctx, ssl, (unsigned int)preverify_ok); in OpenSSL_verify_callback()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | http_curl.c | 993 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | http_curl.c | 993 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()
|
/third_party/libcoap/src/ |
D | coap_openssl.c | 1842 tls_verify_call_back(int preverify_ok, X509_STORE_CTX *ctx) { in tls_verify_call_back() argument 1853 int keep_preverify_ok = preverify_ok; in tls_verify_call_back() 1855 if (!preverify_ok) { in tls_verify_call_back() 1860 preverify_ok = 1; in tls_verify_call_back() 1864 preverify_ok = 1; in tls_verify_call_back() 1868 preverify_ok = 1; in tls_verify_call_back() 1872 preverify_ok = 1; in tls_verify_call_back() 1877 preverify_ok = 1; in tls_verify_call_back() 1882 preverify_ok = 1; in tls_verify_call_back() 1889 preverify_ok = 0; in tls_verify_call_back() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/dtls/ |
D | gstdtlsconnection.c | 127 static int openssl_verify_callback (int preverify_ok, 1095 openssl_verify_callback (int preverify_ok, X509_STORE_CTX * x509_ctx) in openssl_verify_callback() argument
|
/third_party/nghttp2/src/ |
D | shrpx_tls.cc | 96 int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) { in verify_callback() argument 97 if (!preverify_ok) { in verify_callback() 109 return preverify_ok; in verify_callback()
|
D | HttpServer.cc | 1995 int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) { in verify_callback() argument
|
D | nghttp.cc | 655 int verify_cb(int preverify_ok, X509_STORE_CTX *ctx) { return 1; } in verify_cb() argument
|
/third_party/node/src/ |
D | node_crypto.h | 83 extern int VerifyCallback(int preverify_ok, X509_STORE_CTX* ctx);
|
D | node_crypto.cc | 2568 int VerifyCallback(int preverify_ok, X509_STORE_CTX* ctx) { in VerifyCallback() argument
|
/third_party/openssl/include/openssl/ |
D | ssl.h | 294 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
|
/third_party/openssl/test/ |
D | sslapitest.c | 4113 static int verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in verify_cb() argument
|