Dillo v3.1.1-98-g318d1f14
|
#include "../url.h"
Go to the source code of this file.
Functions | |
void | a_Tls_mbedtls_init (void) |
int | a_Tls_mbedtls_certificate_is_clean (const DilloUrl *url) |
int | a_Tls_mbedtls_connect_ready (const DilloUrl *url) |
void | a_Tls_mbedtls_reset_server_state (const DilloUrl *url) |
void | a_Tls_mbedtls_connect (int fd, const DilloUrl *url) |
void * | a_Tls_mbedtls_connection (int fd) |
void | a_Tls_mbedtls_freeall (void) |
void | a_Tls_mbedtls_close_by_fd (int fd) |
int | a_Tls_mbedtls_read (void *conn, void *buf, size_t len) |
int | a_Tls_mbedtls_write (void *conn, void *buf, size_t len) |
int a_Tls_mbedtls_certificate_is_clean | ( | const DilloUrl * | url | ) |
Definition at line 516 of file tls_mbedtls.c.
References CERT_STATUS_CLEAN, and Tls_cert_status().
Referenced by a_Tls_certificate_is_clean().
void a_Tls_mbedtls_close_by_fd | ( | int | fd | ) |
Definition at line 1140 of file tls_mbedtls.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_mbedtls_connect | ( | int | fd, |
const DilloUrl * | url | ||
) |
Definition at line 1062 of file tls_mbedtls.c.
References a_Http_connect_done(), a_Tls_mbedtls_reset_server_state(), dNew0, FALSE, MSG, ssl_conf, ssl_enabled, Tls_conn_new(), Tls_handshake(), Tls_make_conn_key(), Tls_user_said_no(), TRUE, and URL_HOST.
Referenced by a_Tls_connect().
int a_Tls_mbedtls_connect_ready | ( | const DilloUrl * | url | ) |
Definition at line 470 of file tls_mbedtls.c.
References CERT_STATUS_BAD, CERT_STATUS_NONE, CERT_STATUS_RECEIVING, dList_find_sorted(), dList_insert_sorted(), dNew, dReturn_val_if_fail, dStrdup(), servers, ssl_enabled, 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_mbedtls_connection | ( | int | fd | ) |
Definition at line 153 of file tls_mbedtls.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_mbedtls_freeall | ( | void | ) |
Definition at line 1244 of file tls_mbedtls.c.
References prefs, DilloPrefs::show_msg, Tls_cert_authorities_freeall(), Tls_cert_authorities_print_summary(), Tls_fd_map_remove_all(), and Tls_servers_freeall().
Referenced by a_Tls_freeall().
void a_Tls_mbedtls_init | ( | void | ) |
Definition at line 361 of file tls_mbedtls.c.
References cacerts, cert_authorities, ctr_drbg, dList_new(), entropy, FALSE, fd_map, MSG, MSG_ERR, servers, ssl_conf, ssl_enabled, Tls_load_certificates(), and Tls_remove_psk_ciphersuites().
Referenced by a_Tls_init().
int a_Tls_mbedtls_read | ( | void * | conn, |
void * | buf, | ||
size_t | len | ||
) |
void a_Tls_mbedtls_reset_server_state | ( | const DilloUrl * | url | ) |
Definition at line 832 of file tls_mbedtls.c.
References CERT_STATUS_NONE, CERT_STATUS_RECEIVING, dList_find_sorted(), servers, and Tls_servers_by_url_cmp().
Referenced by a_Tls_mbedtls_connect(), a_Tls_reset_server_state(), and Tls_close_by_key().
int a_Tls_mbedtls_write | ( | void * | conn, |
void * | buf, | ||
size_t | len | ||
) |