Skip to content

Commit b2048f4

Browse files
Enable protocol extended information to be generated without a TLS master secret (#2739)
1 parent c75cb93 commit b2048f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/processing/network.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,11 +1140,9 @@ def run(self):
11401140

11411141
if HAVE_HTTPREPLAY:
11421142
try:
1143-
p2 = {}
11441143
tls_master = self.get_tlsmaster()
1145-
if tls_master:
1146-
p2 = Pcap2(self.pcap_path, tls_master, self.network_path).run()
1147-
if p2:
1144+
p2 = Pcap2(self.pcap_path, tls_master, self.network_path).run()
1145+
if any(p2.values()):
11481146
results.update(p2)
11491147
except Exception:
11501148
log.exception("Error running httpreplay-based PCAP analysis")

0 commit comments

Comments
 (0)