vici: Fix descending into non-matching sections during key find
authorMartin Willi <martin@revosec.ch>
Wed, 16 Apr 2014 12:28:27 +0000 (14:28 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 7 May 2014 12:13:38 +0000 (14:13 +0200)
src/libcharon/plugins/vici/vici_message.c

index 078c33e..d3c1b23 100644 (file)
@@ -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;