diff options
author | Marius Halden <marius.h@lden.org> | 2015-12-13 14:52:44 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:27:54 +0200 |
commit | 5ec1c43861ee72c43b3ad0d2a143dd996a1590e7 (patch) | |
tree | 5d58e54dfbe2f695d0642a85fa38558afe3919b9 /conf.c | |
parent | 43dc57e170de2a43f31e144d3a44eee1883fe466 (diff) |
Actually use ssl options in config file
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -377,10 +377,10 @@ static int conf_loadini(conf_t *conf, char *file) } } else if (g_strcasecmp(ini->key, "ssl_cert") == 0) { g_free(conf->ssl_cert); - conf->ssl_cert; + conf->ssl_cert = g_strdup(ini->value); } else if (g_strcasecmp(ini->key, "ssl_key") == 0) { g_free(conf->ssl_key); - conf->ssl_key; + conf->ssl_key = g_strdup(ini->value); #endif /* WITH_GNUTLS */ } else { fprintf(stderr, "Error: Unknown setting `%s` in configuration file (line %d).\n", |