Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Churchill <martin.churchill@gmail.com>2020-04-08 12:02:18 +0300
committerGitHub <noreply@github.com>2020-04-08 12:02:18 +0300
commite4d491d57414bf53b2d6b1996c5a98b8c7830fd0 (patch)
tree303599278ea85c064569374ce08a0004823dc1e5 /include/tests_crypto
parentbe75a089a740b3dad7c1bc720922a59926b37f27 (diff)
[CRYP-7902] Fixes issue #902
[CRYP-7902] Checks for SSL_CERTIFICATE_PATHS_TO_IGNORE fails to ignore sub-directories #902
Diffstat (limited to 'include/tests_crypto')
-rw-r--r--include/tests_crypto2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_crypto b/include/tests_crypto
index 466f6b52..1726735a 100644
--- a/include/tests_crypto
+++ b/include/tests_crypto
@@ -63,7 +63,7 @@
SKIP=0
# Now check if this path is on the to-be-ignored list
for D in ${SSL_CERTIFICATE_PATHS_TO_IGNORE}; do
- if Equals "${D}" "${SUBDIR}"; then
+ if ContainsString "${D}" "${SUBDIR}"; then
SKIP=1
LogText "Result: skipping directory (${SUBDIR}) as it is on ignore list"
fi