fw-addr-lists: fix list without certificate

This commit is contained in:
Christian Hesse 2026-07-29 23:11:48 +02:00
parent deee37d918
commit cc644351b6

View file

@ -72,7 +72,7 @@
:local Data false; :local Data false;
:local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ]; :local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ];
:foreach Cert in=[ :toarray delimiter=":" ($List->"cert") ] do={ :foreach Cert in=[ :toarray delimiter=":" [ :tostr ($List->"cert") ] ] do={
:if ([ :len ($Cert) ] > 0) do={ :if ([ :len ($Cert) ] > 0) do={
:set CheckCertificate true; :set CheckCertificate true;
:if ([ $CertificateAvailable $Cert "fetch" ] = false) do={ :if ([ $CertificateAvailable $Cert "fetch" ] = false) do={