Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
tls_openssl.h File Reference
#include "../url.h"
Include dependency graph for tls_openssl.h:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ a_Tls_openssl_certificate_is_clean()

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().

◆ a_Tls_openssl_close_by_fd()

void a_Tls_openssl_close_by_fd ( int  fd)

Definition at line 1331 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().

◆ a_Tls_openssl_connect()

void a_Tls_openssl_connect ( int  fd,
const DilloUrl url 
)

◆ a_Tls_openssl_connect_ready()

◆ a_Tls_openssl_connection()

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().

◆ a_Tls_openssl_freeall()

void a_Tls_openssl_freeall ( void  )

Definition at line 1373 of file tls_openssl.c.

References ssl_context, Tls_fd_map_remove_all(), and Tls_servers_freeall().

Referenced by a_Tls_freeall().

◆ a_Tls_openssl_init()

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().

◆ a_Tls_openssl_read()

int a_Tls_openssl_read ( void *  conn,
void *  buf,
size_t  len 
)

Definition at line 1316 of file tls_openssl.c.

References Tls_handle_error().

Referenced by a_Tls_read().

◆ a_Tls_openssl_reset_server_state()

void a_Tls_openssl_reset_server_state ( const DilloUrl url)

◆ a_Tls_openssl_write()

int a_Tls_openssl_write ( void *  conn,
void *  buf,
size_t  len 
)

Definition at line 1325 of file tls_openssl.c.

References Tls_handle_error().

Referenced by a_Tls_write().