mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
fix deprecated "local" scoping in test scripts
This commit is contained in:
parent
ce5d840800
commit
510f83c889
2 changed files with 4 additions and 2 deletions
|
@ -32,12 +32,13 @@ event x509_ocsp_ext_signed_certificate_timestamp(f: fa_file, version: count, log
|
|||
if ( |f$conns| != 1 )
|
||||
return;
|
||||
|
||||
local c: connection &is_assigned;
|
||||
|
||||
for ( cid in f$conns )
|
||||
{
|
||||
if ( ! f$conns[cid]?$ssl )
|
||||
return;
|
||||
|
||||
local c: connection &is_assigned;
|
||||
c = f$conns[cid];
|
||||
}
|
||||
|
||||
|
|
|
@ -15,12 +15,13 @@ event x509_ocsp_ext_signed_certificate_timestamp(f: fa_file, version: count, log
|
|||
if ( |f$conns| != 1 )
|
||||
return;
|
||||
|
||||
local c: connection &is_assigned;
|
||||
|
||||
for ( cid in f$conns )
|
||||
{
|
||||
if ( ! f$conns[cid]?$ssl )
|
||||
return;
|
||||
|
||||
local c: connection &is_assigned;
|
||||
c = f$conns[cid];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue