Common OpenSSL support code. More...
#include "asterisk.h"
#include <openssl/ssl.h>
#include <openssl/err.h>
#include "asterisk/_private.h"
#include "asterisk/utils.h"
#include "asterisk/lock.h"
Go to the source code of this file.
Functions | |
int | ast_ssl_init (void) |
static void | ssl_lock (int mode, int n, const char *file, int line) |
static unsigned long | ssl_threadid (void) |
Variables | |
static ast_mutex_t * | ssl_locks |
static int | ssl_num_locks |
Common OpenSSL support code.
Definition in file ssl.c.
int ast_ssl_init | ( | void | ) |
Provided by ssl.c
Definition at line 77 of file ssl.c.
References ast_calloc, ast_mutex_init, ssl_lock(), ssl_num_locks, and ssl_threadid().
Referenced by main().
|
static |
Definition at line 55 of file ssl.c.
References ast_log(), ast_mutex_lock, ast_mutex_unlock, and LOG_ERROR.
Referenced by ast_ssl_init().
|
static |
Definition at line 50 of file ssl.c.
Referenced by ast_ssl_init().
|
static |
|
static |
Definition at line 48 of file ssl.c.
Referenced by ast_ssl_init().