From f0bdb009ed5e09b7d8f8b5358368460d99e69501 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 23 Apr 2014 16:09:09 +0200 Subject: [PATCH] tls/heartbleed: fix test 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 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app-layer-ssl.c b/src/app-layer-ssl.c index 8832623074..b4993b4cd4 100644 --- a/src/app-layer-ssl.c +++ b/src/app-layer-ssl.c @@ -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;