Home
last modified time | relevance | path

Searched refs:x509_ctx (Results 1 – 25 of 73) sorted by relevance

123

/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
100 err = X509_STORE_CTX_get_error(x509_ctx); in OpenSSL_client_verify_callback()
103 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in OpenSSL_client_verify_callback()
119 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
125 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
138 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
144 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in OpenSSL_client_verify_callback()
158 x509_stack = X509_STORE_CTX_get1_chain(x509_ctx); in OpenSSL_client_verify_callback()
192 x509_ctx, ssl, (unsigned int)preverify_ok); in OpenSSL_client_verify_callback()
199 int err = X509_STORE_CTX_get_error(x509_ctx); in OpenSSL_client_verify_callback()
[all …]
Dopenssl-server.c38 OpenSSL_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx) in OpenSSL_verify_callback() argument
44 X509 *topcert = X509_STORE_CTX_get_current_cert(x509_ctx); in OpenSSL_verify_callback()
46 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in OpenSSL_verify_callback()
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 {
444 x509_ctx.current_cert(),
447 .and_then(|idx| x509_ctx.ex_data(idx))
455 x509_ctx.set_error(X509VerifyResult::APPLICATION_VERIFICATION);
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()
42 let ctx = X509StoreContextRef::from_ptr_mut(x509_ctx); in raw_verify()
140 x509_ctx: *mut ffi::X509_STORE_CTX, in ssl_raw_verify()
146 let ctx = X509StoreContextRef::from_ptr_mut(x509_ctx); in ssl_raw_verify()
/third_party/gstreamer/gstplugins_bad/ext/dtls/
Dgstdtlsconnection.c128 X509_STORE_CTX * x509_ctx);
1095 openssl_verify_callback (int preverify_ok, X509_STORE_CTX * x509_ctx) in openssl_verify_callback() argument
1104 X509_STORE_CTX_get_ex_data (x509_ctx, in openssl_verify_callback()
1109 pem = _gst_dtls_x509_to_pem (X509_STORE_CTX_get0_cert (x509_ctx)); in openssl_verify_callback()
1122 X509_get_subject_name (X509_STORE_CTX_get0_cert (x509_ctx)), 1, in openssl_verify_callback()
/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
955 err_cert = wolfSSL_X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()
961 err = wolfSSL_X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()
962 depth = wolfSSL_X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()
964 x509_ctx, wolfSSL_get_ex_data_X509_STORE_CTX_idx()); in tls_verify_cb()
1116 x509_ctx, X509_V_ERR_CERT_REVOKED); in tls_verify_cb()
Dtls_openssl.c2297 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
2309 err_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()
2313 err = X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()
2314 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()
2315 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in tls_verify_cb()
2403 chain = X509_STORE_CTX_get1_chain(x509_ctx); in tls_verify_cb()
2530 x509_ctx, X509_V_ERR_CERT_REVOKED); in tls_verify_cb()
/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
962 err_cert = wolfSSL_X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()
968 err = wolfSSL_X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()
969 depth = wolfSSL_X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()
971 x509_ctx, wolfSSL_get_ex_data_X509_STORE_CTX_idx()); in tls_verify_cb()
1123 x509_ctx, X509_V_ERR_CERT_REVOKED); in tls_verify_cb()
Dtls_openssl.c2345 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
2357 err_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()
2361 err = X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()
2362 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()
2363 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in tls_verify_cb()
2453 chain = X509_STORE_CTX_get1_chain(x509_ctx); in tls_verify_cb()
2580 x509_ctx, X509_V_ERR_CERT_REVOKED); in tls_verify_cb()
/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
1004 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in curl_cb_ssl_verify()
1012 err = X509_STORE_CTX_get_error(x509_ctx); in curl_cb_ssl_verify()
1014 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in curl_cb_ssl_verify()
1015 cert = X509_STORE_CTX_get_current_cert(x509_ctx); in curl_cb_ssl_verify()
1049 x509_ctx, X509_V_ERR_CERT_REVOKED); 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
1004 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in curl_cb_ssl_verify()
1012 err = X509_STORE_CTX_get_error(x509_ctx); in curl_cb_ssl_verify()
1014 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in curl_cb_ssl_verify()
1015 cert = X509_STORE_CTX_get_current_cert(x509_ctx); in curl_cb_ssl_verify()
1049 x509_ctx, X509_V_ERR_CERT_REVOKED); in curl_cb_ssl_verify()
/third_party/openssl/doc/man3/
DSSL_CTX_set_verify.pod18 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
174 (preverify_ok=0). B<x509_ctx> is a pointer to the complete context used
180 a verification error is found, the error number is stored in B<x509_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);
/third_party/node/deps/openssl/config/archs/BSD-x86/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/linux64-riscv64/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/darwin64-x86_64-cc/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/aix64-gcc-as/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/linux32-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-aarch64/asm/include/openssl/
Dssl.h338 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);

123