]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Squashed commit of the following:
authorRuss Combs <rucombs@cisco.com>
Tue, 16 Jun 2015 15:21:12 +0000 (11:21 -0400)
committerRuss Combs <rucombs@cisco.com>
Tue, 16 Jun 2015 15:21:12 +0000 (11:21 -0400)
commit 9305b4efbfef9657155bb19accf09fcfa64d4878
Author: Bhagyashree Bantwal <bbantwal@cisco.com>
Date:   Tue Jun 16 11:07:24 2015 -0400

    ssl assertion change

src/service_inspectors/ssl/ssl_inspector.cc

index 33670957c51fd862286cf597d23c55381b4a3baf..76c4861d6e6c6c91cc13ea044513be9f9e6472cd 100644 (file)
@@ -445,7 +445,7 @@ void Ssl::show(SnortConfig*)
 void Ssl::eval(Packet* p)
 {
     // precondition - what we registered for
-    assert(p->is_tcp() && p->dsize && p->data);
+    assert(p->has_tcp_data());
 
     ++sslstats.total_packets;
     snort_ssl(config, p);