diff options
author | John Estabrook <jestabro@vyos.io> | 2021-11-24 12:09:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 12:09:49 -0600 |
commit | ac87c75e708ac3f7c29c415a4f17f63217cd399e (patch) | |
tree | bc800b98fa9aeacf363ecd84bb53a1d12eb2c6b0 | |
parent | 771301fea060467945e6c55379dd8e761aa9ad9d (diff) | |
parent | 3c240b613a66affb1f3c2293d2b8ad52ab5f6460 (diff) | |
download | vyos-1x-ac87c75e708ac3f7c29c415a4f17f63217cd399e.tar.gz vyos-1x-ac87c75e708ac3f7c29c415a4f17f63217cd399e.zip |
Merge pull request #1081 from DmitriyEshenko/1x-24112021-eq
openconnect: T3695: Fix certificate files validation
-rw-r--r-- | interface-definitions/include/certificate-ca.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/certificate-key.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/certificate.xml.i | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/certificate-ca.xml.i b/interface-definitions/include/certificate-ca.xml.i index b97378658..f42e2ebbd 100644 --- a/interface-definitions/include/certificate-ca.xml.i +++ b/interface-definitions/include/certificate-ca.xml.i @@ -7,7 +7,7 @@ <description>File in /config/auth directory</description> </valueHelp> <constraint> - <validator name="file-exists" argument="--directory /config/auth"/> + <validator name="file-exists" argument="--directory /config/auth --error"/> </constraint> </properties> </leafNode> diff --git a/interface-definitions/include/certificate-key.xml.i b/interface-definitions/include/certificate-key.xml.i index 1db9dd069..7d5c2dc03 100644 --- a/interface-definitions/include/certificate-key.xml.i +++ b/interface-definitions/include/certificate-key.xml.i @@ -7,7 +7,7 @@ <description>File in /config/auth directory</description> </valueHelp> <constraint> - <validator name="file-exists" argument="--directory /config/auth"/> + <validator name="file-exists" argument="--directory /config/auth --error"/> </constraint> </properties> </leafNode> diff --git a/interface-definitions/include/certificate.xml.i b/interface-definitions/include/certificate.xml.i index fb5be45cc..3598075a9 100644 --- a/interface-definitions/include/certificate.xml.i +++ b/interface-definitions/include/certificate.xml.i @@ -7,7 +7,7 @@ <description>File in /config/auth directory</description> </valueHelp> <constraint> - <validator name="file-exists" argument="--directory /config/auth"/> + <validator name="file-exists" argument="--directory /config/auth --error"/> </constraint> </properties> </leafNode> |