]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
tls/heartbleed: fix test
authorVictor Julien <victor@inliniac.net>
Wed, 23 Apr 2014 14:09:09 +0000 (16:09 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 2 May 2014 09:55:12 +0000 (11:55 +0200)
Now that we continue to track ssl/tls after the handshake, we need
to fix tests that checked for the cutoff flags.

src/app-layer-ssl.c

index 88326230740f821b3640dbc4f325beac3a4f6503..b4993b4cd44d355e1c541f9cd2704127b054e75a 100644 (file)
@@ -3650,14 +3650,6 @@ static int SSLParserTest23(void)
         goto end;
     }
 
-    if (!AppLayerParserStateIssetFlag(f.alparser, APP_LAYER_PARSER_NO_INSPECTION) &&
-        !(ssn.client.flags & STREAMTCP_STREAM_FLAG_NOREASSEMBLY) &&
-        !(ssn.server.flags & STREAMTCP_STREAM_FLAG_NOREASSEMBLY)) {
-        printf("The flags should be set\n");
-        result = 0;
-        goto end;
-    }
-
     if (!(f.flags & FLOW_NOPAYLOAD_INSPECTION)) {
         printf("The flags should be set\n");
         result = 0;