diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-12 11:18:42 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-15 09:11:25 +0200 |
commit | 7aa5059f6d478fb8984caae7c906154a1d598488 (patch) | |
tree | 4a65a99aae3aeeee506418621a7ad4d5e17dc5f4 | |
parent | 5736ecebc53a8e97e986eb50e4a1611b410dcc14 (diff) |
global-functions: $CertificateAvailable: use single quotes
-rw-r--r-- | global-functions.rsc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 8f2f179..17aa38f 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -107,7 +107,7 @@ } :if ([ :len [ /certificate/find where common-name=$CommonName ] ] = 0) do={ - $LogPrint info $0 ("Certificate with CommonName \"" . $CommonName . "\" not available."); + $LogPrint info $0 ("Certificate with CommonName '" . $CommonName . "' not available."); :if ([ $CertificateDownload $CommonName ] = false) do={ :return false; } @@ -116,8 +116,8 @@ :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={ - $LogPrint info $0 ("Certificate chain for \"" . $CommonName . \ - "\" is incomplete, missing \"" . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN") . "\"."); + $LogPrint info $0 ("Certificate chain for '" . $CommonName . \ + "' is incomplete, missing '" . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN") . "'."); :if ([ $CertificateDownload $CommonName ] = false) do={ :return false; } |