From 5ec1c43861ee72c43b3ad0d2a143dd996a1590e7 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sun, 13 Dec 2015 14:52:44 +0100 Subject: Actually use ssl options in config file --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index c0ecd889..95e3afd2 100644 --- a/conf.c +++ b/conf.c @@ -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", -- cgit v1.2.3