Adapt SSL analyzer to generate file analysis handles itself.

This commit is contained in:
Jon Siwek 2014-04-23 16:57:19 -05:00
parent de8f8f87b6
commit 58efa09426
4 changed files with 29 additions and 20 deletions

View file

@ -52,22 +52,8 @@ export {
function get_file_handle(c: connection, is_orig: bool): string
{
set_session(c);
local depth: count;
if ( is_orig )
{
depth = c$ssl$client_depth;
++c$ssl$client_depth;
}
else
{
depth = c$ssl$server_depth;
++c$ssl$server_depth;
}
return cat(Analyzer::ANALYZER_SSL, c$start_time, is_orig, id_string(c$id), depth);
# Unused. File handles are generated in the analyzer.
return "";
}
function describe_file(f: fa_file): string