[Zeek] Adding MySQL TLS Functionality
Jon Siwek
jsiwek at corelight.com
Thu Apr 2 09:59:09 PDT 2020
On Thu, Apr 2, 2020 at 9:33 AM Andrew Klaus <andrew at aklaus.ca> wrote:
> /home/zeek/build/src/analyzer/protocol/mysql/mysql_pac.cc:3042:35: error: ‘class analyzer::Analyzer’ has no member named ‘TLSHandshake’
> connection()->bro_analyzer()->TLSHandshake();
Seems like you just need to cast:
static_cast<analyzer::MySQL::MySQL_Analyzer>(connection()->bro_analyzer())->TLSHandshake();
That is, bro_analyzer() returns an analyzer::Analyzer*, which is the
base class that has no TLSHandshake() method, thus the compiler error.
- Jon
More information about the Zeek
mailing list