From 89294d87315b40c9ed6a64c581a2c7c4177edfd4 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 14 Oct 2011 18:38:18 +0200 Subject: [PATCH] pluto: Missing flushline call added when reading ipsec.secrets. --- src/pluto/keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pluto/keys.c b/src/pluto/keys.c index dfdc6bb341..a204d86cb9 100644 --- a/src/pluto/keys.c +++ b/src/pluto/keys.c @@ -1076,7 +1076,7 @@ static void process_secrets_file(const char *file_pat, int whackfd) if (lexopen(&pos, *fnp, FALSE)) { plog("loading secrets from \"%s\"", *fnp); - (void) flushline("file starts with indentation (continuation notation)"); + flushline("file starts with indentation (continuation notation)"); process_secret_records(whackfd); lexclose(); } @@ -1089,6 +1089,7 @@ static void process_secrets_file(const char *file_pat, int whackfd) if (lexopen(&pos, file_pat, FALSE)) { plog("loading secrets from \"%s\"", file_pat); + flushline("file starts with indentation (continuation notation)"); process_secret_records(whackfd); lexclose(); } -- 2.47.2