mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $CertificateAvailable: drop version check
This commit is contained in:
@@ -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={
|
||||
|
Reference in New Issue
Block a user