mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Replace assert with if statement so OpenVPN can use this over UDP. And fix spelling.
This commit is contained in:
parent
b8ec65ccf7
commit
6fa02a7db4
2 changed files with 3 additions and 4 deletions
|
@ -57,8 +57,7 @@ void SSL_Analyzer::DeliverStream(int len, const u_char* data, bool orig)
|
|||
{
|
||||
analyzer::tcp::TCP_ApplicationAnalyzer::DeliverStream(len, data, orig);
|
||||
|
||||
assert(TCP());
|
||||
if ( TCP()->IsPartial() )
|
||||
if ( TCP() && TCP()->IsPartial() )
|
||||
return;
|
||||
|
||||
if ( had_gap )
|
||||
|
|
|
@ -15,7 +15,7 @@ public:
|
|||
explicit SSL_Analyzer(Connection* conn);
|
||||
~SSL_Analyzer() override;
|
||||
|
||||
// Overriden from Analyzer.
|
||||
// Overridden from Analyzer.
|
||||
void Done() override;
|
||||
void DeliverStream(int len, const u_char* data, bool orig) override;
|
||||
void Undelivered(uint64_t seq, int len, bool orig) override;
|
||||
|
@ -27,7 +27,7 @@ public:
|
|||
// Get the TLS version that the server chose. 0 if not yet known.
|
||||
uint16_t GetNegotiatedVersion() const;
|
||||
|
||||
// Overriden from analyzer::tcp::TCP_ApplicationAnalyzer.
|
||||
// Overridden from analyzer::tcp::TCP_ApplicationAnalyzer.
|
||||
void EndpointEOF(bool is_orig) override;
|
||||
|
||||
static analyzer::Analyzer* Instantiate(Connection* conn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue