Home
last modified time | relevance | path

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

1234

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_wolfssl.c944 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 …]
Dtls_openssl.c2297 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/
Dtls_wolfssl.c951 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 …]
Dtls_openssl.c2345 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
2386 if (!preverify_ok && !conn->ca_cert_verify) in tls_verify_cb()
2387 preverify_ok = 1; in tls_verify_cb()
2388 if (!preverify_ok && depth > 0 && conn->server_cert_only) in tls_verify_cb()
2389 preverify_ok = 1; in tls_verify_cb()
2390 if (!preverify_ok && (conn->flags & TLS_CONN_DISABLE_TIME_CHECKS) && in tls_verify_cb()
2395 preverify_ok = 1; in tls_verify_cb()
2397 if (!preverify_ok && !conn->data->check_crl_strict && in tls_verify_cb()
2402 preverify_ok = 1; in tls_verify_cb()
2418 preverify_ok = 0; in tls_verify_cb()
[all …]
/third_party/openssl/doc/man3/
DSSL_CTX_set_verify.pod18 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
172 receives two arguments: B<preverify_ok> indicates, whether the verification of
173 the certificate in question was passed (preverify_ok=1) or not
174 (preverify_ok=0). B<x509_ctx> is a pointer to the complete context used
181 and B<verify_callback> is called with B<preverify_ok>=0. By applying
184 found for a certificate, B<verify_callback> is called with B<preverify_ok>=1
200 Its return value is identical to B<preverify_ok>, so that any verification
259 static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx)
290 preverify_ok = 0;
294 if (!preverify_ok) {
[all …]
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c92 OpenSSL_client_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx) in OpenSSL_client_verify_callback() argument
99 if (!preverify_ok) { in OpenSSL_client_verify_callback()
192 x509_ctx, ssl, (unsigned int)preverify_ok); in OpenSSL_client_verify_callback()
198 if (!preverify_ok) { in OpenSSL_client_verify_callback()
210 "depth=%d)\n", msg, preverify_ok, err, depth); in OpenSSL_client_verify_callback()
224 return preverify_ok; // not ok in OpenSSL_client_verify_callback()
Dopenssl-server.c38 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/rust/crates/rust-openssl/openssl/src/ssl/
Dconnector.rs436 pub fn verify_callback(preverify_ok: bool, x509_ctx: &mut X509StoreContextRef) -> bool {
437 if !preverify_ok || x509_ctx.error_depth() != 0 {
438 return preverify_ok;
Dcallbacks.rs37 pub extern "C" fn raw_verify<F>(preverify_ok: c_int, x509_ctx: *mut ffi::X509_STORE_CTX) -> c_int in raw_verify()
55 (*verify)(preverify_ok != 0, ctx) as c_int in raw_verify()
139 preverify_ok: c_int, in ssl_raw_verify()
157 callback(preverify_ok != 0, ctx) as c_int in ssl_raw_verify()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dhttp_curl.c993 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/
Dhttp_curl.c993 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/
Dcoap_openssl.c1914 tls_verify_call_back(int preverify_ok, X509_STORE_CTX *ctx) { in tls_verify_call_back() argument
1925 int keep_preverify_ok = preverify_ok; in tls_verify_call_back()
1927 if (!preverify_ok) { in tls_verify_call_back()
1932 preverify_ok = 1; in tls_verify_call_back()
1936 preverify_ok = 1; in tls_verify_call_back()
1940 preverify_ok = 1; in tls_verify_call_back()
1944 preverify_ok = 1; in tls_verify_call_back()
1949 preverify_ok = 1; in tls_verify_call_back()
1955 preverify_ok = 1; in tls_verify_call_back()
1962 preverify_ok = 0; in tls_verify_call_back()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/dtls/
Dgstdtlsconnection.c127 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/
Dshrpx_tls.cc120 int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) { in verify_callback() argument
121 if (!preverify_ok) { in verify_callback()
133 return preverify_ok; in verify_callback()
DHttpServer.cc2012 int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) { in verify_callback() argument
Dnghttp.cc669 int verify_cb(int preverify_ok, X509_STORE_CTX *ctx) { return 1; } in verify_cb() argument
/third_party/node/src/crypto/
Dcrypto_util.cc46 int VerifyCallback(int preverify_ok, X509_STORE_CTX* ctx) { in VerifyCallback() argument
Dcrypto_util.h89 extern int VerifyCallback(int preverify_ok, X509_STORE_CTX* ctx);
/third_party/openssl/ohos_lite/include/openssl/
Dssl.h294 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);

1234