aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-10-14 18:38:18 +0200
committerTobias Brunner <tobias@strongswan.org>2011-10-14 18:38:18 +0200
commit89294d87315b40c9ed6a64c581a2c7c4177edfd4 (patch)
treefb2509a2dbe12cf2156401e9c86f662c9dfeb0aa
parent03bf57e3bb90dd0f2bbc8074bd549d7e41c3402d (diff)
downloadstrongswan-89294d87315b40c9ed6a64c581a2c7c4177edfd4.tar.bz2
strongswan-89294d87315b40c9ed6a64c581a2c7c4177edfd4.tar.xz
pluto: Missing flushline call added when reading ipsec.secrets.
-rw-r--r--src/pluto/keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pluto/keys.c b/src/pluto/keys.c
index dfdc6bb34..a204d86cb 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();
}