mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $CertificateAvailable: drop version check
This commit is contained in:
parent
832e899cda
commit
150c228197
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue