mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-19 17:20:09 +02:00
global-functions: $CertificateAvailable: drop version check
This commit is contained in:
parent
832e899cda
commit
150c228197
1 changed files with 0 additions and 5 deletions
|
@ -68,7 +68,6 @@
|
||||||
:global CertificateDownload;
|
:global CertificateDownload;
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global ParseKeyValueStore;
|
:global ParseKeyValueStore;
|
||||||
:global RequiredRouterOS;
|
|
||||||
|
|
||||||
:if ([ / system resource get free-hdd-space ] < 8388608 && \
|
:if ([ / system resource get free-hdd-space ] < 8388608 && \
|
||||||
[ / certificate settings get crl-download ] = true && \
|
[ / 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 ] ];
|
:local CertVal [ / certificate get [ find where common-name=$CommonName ] ];
|
||||||
:while (($CertVal->"akid") != "" && ($CertVal->"akid") != ($CertVal->"skid")) do={
|
:while (($CertVal->"akid") != "" && ($CertVal->"akid") != ($CertVal->"skid")) do={
|
||||||
:if ([ :len [ / certificate find where skid=($CertVal->"akid") ] ] = 0) do={
|
:if ([ :len [ / certificate find where skid=($CertVal->"akid") ] ] = 0) do={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue