Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c90 OpenSSL_client_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx) in OpenSSL_client_verify_callback() argument
98 err = X509_STORE_CTX_get_error(x509_ctx); in OpenSSL_client_verify_callback()
101 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in OpenSSL_client_verify_callback()
117 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
123 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
136 X509_STORE_CTX_set_error(x509_ctx, X509_V_OK); in OpenSSL_client_verify_callback()
142 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in OpenSSL_client_verify_callback()
156 x509_stack = X509_STORE_CTX_get1_chain(x509_ctx); in OpenSSL_client_verify_callback()
190 x509_ctx, ssl, (unsigned int)preverify_ok); in OpenSSL_client_verify_callback()
197 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/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.c2343 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument
2355 err_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()
2359 err = X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()
2360 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()
2361 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in tls_verify_cb()
2451 chain = X509_STORE_CTX_get1_chain(x509_ctx); in tls_verify_cb()
2578 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);
159 (preverify_ok=0). B<x509_ctx> is a pointer to the complete context used
165 a verification error is found, the error number is stored in B<x509_ctx>
/third_party/openssl/include/openssl/
Dssl.h294 typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
/third_party/openssl/test/
Dsslapitest.c4113 static int verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in verify_cb() argument