From: Martin Willi Date: Wed, 16 Apr 2014 12:28:27 +0000 (+0200) Subject: vici: Fix descending into non-matching sections during key find X-Git-Tag: 5.2.0dr3~9^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c193732162775a25af8116105c10bd7f0ffa2269;p=thirdparty%2Fstrongswan.git vici: Fix descending into non-matching sections during key find --- diff --git a/src/libcharon/plugins/vici/vici_message.c b/src/libcharon/plugins/vici/vici_message.c index 078c33ead4..d3c1b23e2f 100644 --- a/src/libcharon/plugins/vici/vici_message.c +++ b/src/libcharon/plugins/vici/vici_message.c @@ -265,7 +265,7 @@ static bool find_value(private_vici_message_t *this, chunk_t *value, { break; } - break; + continue; case VICI_SECTION_END: section--; continue;