From 150c2281973ff28b764637b3df83d3b8005cfe0e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Sep 2021 08:55:34 +0200 Subject: global-functions: $CertificateAvailable: drop version check --- global-functions | 5 ----- 1 file changed, 5 deletions(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index 69fda07..30512f6 100644 --- a/global-functions +++ b/global-functions @@ -68,7 +68,6 @@ :global CertificateDownload; :global LogPrintExit2; :global ParseKeyValueStore; - :global RequiredRouterOS; :if ([ / system resource get free-hdd-space ] < 8388608 && \ [ / certificate settings get crl-download ] = true && \ @@ -84,10 +83,6 @@ } } - :if ([ $RequiredRouterOS $0 "6.47" true ] = false) do={ - :return true; - } - :local CertVal [ / certificate get [ find where common-name=$CommonName ] ]; :while (($CertVal->"akid") != "" && ($CertVal->"akid") != ($CertVal->"skid")) do={ :if ([ :len [ / certificate find where skid=($CertVal->"akid") ] ] = 0) do={ -- cgit v1.2.3-70-g09d2