Skip to content

Commit

Permalink
[analyzer] lua-checker: ignore LogId::SERVER_CERTIFICATE_* and CERTIF…
Browse files Browse the repository at this point in the history
…ICATE_CHECK_SUCCESS
  • Loading branch information
jonathanpoelen committed Nov 24, 2023
1 parent 173105f commit 3221142
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/c++-analyzer/lua-checker/checkers/log6.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ function terminate()

-- add not extracted id
for _,id in ipairs({
"PROBE_STATUS",
'PROBE_STATUS',
'SERVER_CERTIFICATE_ERROR',
'SERVER_CERTIFICATE_MATCH_SUCCESS',
'CERTIFICATE_CHECK_SUCCESS',
'SERVER_CERTIFICATE_NEW',
'SERVER_CERTIFICATE_MATCH_FAILURE',
}) do
if ids[id] ~= 0 then
utils.print_error(id .. ' is already used, please update script\n')
Expand Down

0 comments on commit 3221142

Please sign in to comment.