Searched refs:x509_ctx (Results 1 – 2 of 2) sorted by relevance
979 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument990 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in curl_cb_ssl_verify()998 err = X509_STORE_CTX_get_error(x509_ctx); in curl_cb_ssl_verify()1000 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in curl_cb_ssl_verify()1001 cert = X509_STORE_CTX_get_current_cert(x509_ctx); in curl_cb_ssl_verify()1035 x509_ctx, X509_V_ERR_CERT_REVOKED); in curl_cb_ssl_verify()
1755 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument1766 err_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()1770 err = X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()1771 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()1772 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in tls_verify_cb()1915 x509_ctx, X509_V_ERR_CERT_REVOKED); in tls_verify_cb()