SIP-router TLS support :: tls runtime configurationModule: SIP-router TLS support. More...
#include "tls_cfg.h"#include "../../config.h"#include "../../str.h"#include "../../ut.h"#include "../../pt.h"#include "../../mem/shm_mem.h"
Go to the source code of this file.
Definition in file tls_cfg.c.
| static int fix_initial_pathname | ( | str * | path, | |
| char * | def | |||
| ) | [static] |
to be used on start-up, with pkg_alloc'ed path names (path->s).
| path | - path to be fixed. If it starts with '.' or '/' is left alone (forced "relative" or "absolute" path). Otherwise the path is considered to be relative to the main config file directory (e.g. for /etc/ser/ser.cfg => /etc/ser/<path>). | |
| def | - default value used if path->s is empty (path->s == 0). |
Definition at line 230 of file tls_cfg.c.
References get_abs_pathname(), _str::len, and _str::s.
Referenced by fix_tls_cfg().


Definition at line 104 of file tls_cfg.c.
References get_abs_pathname(), _str::len, MAX_PATH_SIZE, and _str::s.

| int fix_tls_cfg | ( | struct cfg_group_tls * | cfg | ) |
Definition at line 256 of file tls_cfg.c.
References fix_initial_pathname(), S_TO_TICKS, TLS_CA_FILE, TLS_CERT_FILE, TLS_CRL_FILE, and TLS_PKEY_FILE.

1.7.1