mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-05 21:49:36 +00:00
Compare commits
7 commits
2e0da2c0c7
...
b3c2b67461
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3c2b67461 | ||
|
|
a36daed8be | ||
|
|
20ae1250fb | ||
|
|
31180ae33a | ||
|
|
7de9c64776 | ||
|
|
c67f598dea | ||
|
|
89c0ad5e91 |
1 changed files with 0 additions and 2 deletions
|
|
@ -206,11 +206,9 @@
|
|||
:local Match [ :tostr $1 ];
|
||||
|
||||
:global CleanName;
|
||||
:global LogPrint;
|
||||
|
||||
:local Cert ([ /certificate/find where (common-name=$Match or fingerprint=$Match or name=$Match) ]->0);
|
||||
:if ([ :len $Cert ] = 0) do={
|
||||
$LogPrint warning $0 ("No matching certificate found.");
|
||||
:return false;
|
||||
}
|
||||
:local CommonName [ /certificate/get $Cert common-name ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue