Dillo v3.1.1-99-gf3103cc4
|
#include "../url.h"
Go to the source code of this file.
Functions | |
void | a_Tls_openssl_init (void) |
int | a_Tls_openssl_certificate_is_clean (const DilloUrl *url) |
int | a_Tls_openssl_connect_ready (const DilloUrl *url) |
void | a_Tls_openssl_reset_server_state (const DilloUrl *url) |
void | a_Tls_openssl_connect (int fd, const DilloUrl *url) |
void * | a_Tls_openssl_connection (int fd) |
void | a_Tls_openssl_freeall (void) |
void | a_Tls_openssl_close_by_fd (int fd) |
int | a_Tls_openssl_read (void *conn, void *buf, size_t len) |
int | a_Tls_openssl_write (void *conn, void *buf, size_t len) |
int a_Tls_openssl_certificate_is_clean | ( | const DilloUrl * | url | ) |
Definition at line 424 of file tls_openssl.c.
References CERT_STATUS_CLEAN, and Tls_cert_status().
Referenced by a_Tls_certificate_is_clean().
void a_Tls_openssl_close_by_fd | ( | int | fd | ) |
Definition at line 1335 of file tls_openssl.c.
References dList_find_custom(), fd_map, INT2VOIDP, Tls_close_by_key(), and Tls_fd_map_cmp().
Referenced by a_Tls_close_by_fd().
void a_Tls_openssl_connect | ( | int | fd, |
const DilloUrl * | url | ||
) |
Definition at line 1213 of file tls_openssl.c.
References a_Http_connect_done(), a_Tls_openssl_reset_server_state(), a_Url_host_type(), FALSE, MSG, ssl_context, Tls_conn_new(), Tls_connect(), Tls_user_said_no(), TRUE, URL_HOST, and URL_HOST_NAME.
Referenced by a_Tls_connect().
int a_Tls_openssl_connect_ready | ( | const DilloUrl * | url | ) |
Definition at line 377 of file tls_openssl.c.
References CERT_STATUS_BAD, CERT_STATUS_NONE, CERT_STATUS_RECEIVING, dList_find_sorted(), dList_insert_sorted(), dNew, dStrdup(), servers, ssl_context, TLS_CONNECT_NEVER, TLS_CONNECT_NOT_YET, TLS_CONNECT_READY, Tls_servers_by_url_cmp(), Tls_servers_cmp(), URL_HOST, and URL_PORT.
Referenced by a_Tls_connect_ready().
void * a_Tls_openssl_connection | ( | int | fd | ) |
Definition at line 145 of file tls_openssl.c.
References a_Klist_get_data(), conn_list, dList_find_custom(), fd_map, INT2VOIDP, and Tls_fd_map_cmp().
Referenced by a_Tls_connection().
void a_Tls_openssl_freeall | ( | void | ) |
Definition at line 1377 of file tls_openssl.c.
References ssl_context, Tls_fd_map_remove_all(), and Tls_servers_freeall().
Referenced by a_Tls_freeall().
void a_Tls_openssl_init | ( | void | ) |
Definition at line 252 of file tls_openssl.c.
References dList_new(), fd_map, MSG, MSG_ERR, servers, ssl_context, Tls_info_cb(), and Tls_load_certificates().
Referenced by a_Tls_init().
int a_Tls_openssl_read | ( | void * | conn, |
void * | buf, | ||
size_t | len | ||
) |
Definition at line 1320 of file tls_openssl.c.
References Tls_handle_error().
Referenced by a_Tls_read().
void a_Tls_openssl_reset_server_state | ( | const DilloUrl * | url | ) |
Definition at line 1036 of file tls_openssl.c.
References CERT_STATUS_NONE, CERT_STATUS_RECEIVING, dList_find_sorted(), servers, and Tls_servers_by_url_cmp().
Referenced by a_Tls_openssl_connect(), a_Tls_reset_server_state(), and Tls_close_by_key().
int a_Tls_openssl_write | ( | void * | conn, |
void * | buf, | ||
size_t | len | ||
) |
Definition at line 1329 of file tls_openssl.c.
References Tls_handle_error().
Referenced by a_Tls_write().