fix deprecated "local" scoping in test scripts

This commit is contained in:
Vern Paxson 2022-09-16 16:48:19 -07:00
parent ce5d840800
commit 510f83c889
2 changed files with 4 additions and 2 deletions

View file

@ -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];
}

View file

@ -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];
}