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:
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 7ae300f1..968cfce3 100644
--- a/include/tests_crypto
+++ b/include/tests_crypto
@@ -44,7 +44,7 @@
if [ ${CANREAD} -eq 1 ]; then
LogText "Result: found directory ${DIR}"
# Search for CRT files
- sFINDCRTS=$(${FINDBINARY} ${DIR} -type f 2> /dev/null | ${EGREPBINARY} ".crt$|.pem$|^cert")
+ sFINDCRTS=$(${FINDBINARY} ${DIR} -type f 2> /dev/null | ${EGREPBINARY} ".crt$|.pem$|^cert" | ${SORTBINARY})
if [ ! -z "${sFINDCRTS}" ]; then
for FILE in ${sFINDCRTS}; do
FileIsReadable ${FILE}