ELinks 0.16.1.1
ssl.c File Reference
#include <limits.h>
#include <sys/types.h>
#include "elinks.h"
#include "intl/libintl.h"
#include "main/main.h"
#include "main/module.h"
#include "network/connection.h"
#include "network/socket.h"
#include "network/ssl/ssl.h"
#include "osdep/osdep.h"
#include "util/conv.h"
#include "util/error.h"
#include "util/string.h"
#include "util/random.h"
Include dependency graph for ssl.c:

Functions

int init_ssl_connection (struct socket *socket, const char *server_name)
void done_ssl_connection (struct socket *socket)
char * get_ssl_connection_cipher (struct socket *socket)
void random_nonce (unsigned char buf[], size_t size)

Variables

static union option_info ssl_options []
static struct modulessl_modules []
struct module ssl_module

Function Documentation

◆ done_ssl_connection()

void done_ssl_connection ( struct socket * socket)

◆ get_ssl_connection_cipher()

char * get_ssl_connection_cipher ( struct socket * socket)

◆ init_ssl_connection()

int init_ssl_connection ( struct socket * socket,
const char * server_name )

◆ random_nonce()

void random_nonce ( unsigned char buf[],
size_t size )

Variable Documentation

◆ ssl_module

struct module ssl_module
Initial value:
N_("SSL"),
)
#define NULL
Definition explodename.c:35
#define N_(msg)
Definition libintl.h:25
#define struct_module(name, options, hooks, submods, data, init, done)
Definition module.h:44
static struct module * ssl_modules[]
Definition ssl.c:375
static union option_info ssl_options[]
Definition ssl.c:367

◆ ssl_modules

struct module* ssl_modules[]
static
Initial value:
= {
}

◆ ssl_options

union option_info ssl_options[]
static
Initial value:
= {
INIT_OPT_TREE("connection", N_("SSL"),
"ssl", OPT_SORT,
N_("SSL options.")),
NULL_OPTION_INFO,
}
@ OPT_SORT
For OPT_TREE, automatically sort the content of the tree alphabetically (but all subtrees in front of...
Definition options.h:92