From 9b6c70488a095947be7939f37e14fa34d35d0013 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 16 Aug 2012 12:15:14 +0200 Subject: [PATCH] fixed an encryption bug due to not rereading the key after clearing the cfg structure --- src/piler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/piler.c b/src/piler.c index 666ba1fa..2a4d0fe2 100644 --- a/src/piler.c +++ b/src/piler.c @@ -75,6 +75,7 @@ static void takesig(int sig){ switch(sig){ case SIGHUP: initialise_configuration(); + if(read_key(&cfg)) fatal(ERR_READING_KEY); kill_children(SIGHUP); break;