Ike_check.nasl Undeclared variable

Hello,

I run NVTs through a pipeline that executes openvas-nasl-lint, and I noticed today that pre2008/ike_check.nasl fails to pass the linting, due to an undeclared variable.

Generally, the NVT looks ok, but I think that the calc_data() and bada_bing() methods need to be moved below the variable instantiations.

I doubt there is anything fundamentally wrong with the NVT, and that openvas-nasl-lint just parses from the top down - hence detecting the undeclared variable. But a fix would be always be appreciated!

This is indeed a false reporting of openvas-nasl-lint so moving into the GSE category accordingly.