analyzer/ssl: cleanup SSL_Analyzer

- make TLS12 PRF a member function of the analyzer
- use std::string in PRF
- use StringValPtr instead of zeek::StringVal
- replace malloc/free with C++ style allocations
This commit is contained in:
Florian Wilkens 2021-05-05 18:22:56 +02:00
parent c1c0cb6f3c
commit febc69d320
3 changed files with 61 additions and 61 deletions

View file

@ -51,7 +51,7 @@ event zeek_init()
Input::add_table([$name=input_stream_name, $source=keylog_file, $destination=secrets, $idx=Idx, $val=Val, $want_record=F]);
Input::remove(input_stream_name);
}
}
}
event SSL::add_keys(client_random: string, val: string)
{