fixed an encryption bug due to not rereading the key after clearing the cfg structure

This commit is contained in:
SJ 2012-08-16 12:15:14 +02:00
parent 653b5e8c18
commit 9b6c70488a

View File

@ -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;