diff options
author | Christian Hesse <mail@eworm.de> | 2021-09-02 08:55:34 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-09-02 08:55:34 +0200 |
commit | 150c2281973ff28b764637b3df83d3b8005cfe0e (patch) | |
tree | 619b5959d5367361c99f698d1c1f5d8033c67936 /global-functions | |
parent | 832e899cdac69736cc4f7e0ec9ef30fd0c71f5f3 (diff) |
global-functions: $CertificateAvailable: drop version check
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 5 |
1 files changed, 0 insertions, 5 deletions
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={ |