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 6d0d5384..ecb19d2f 100644
--- a/include/tests_crypto
+++ b/include/tests_crypto
@@ -28,7 +28,7 @@
#
# Test : CRYP-7902
# Description : check for expired SSL certificates
- if [ ! -z "${OPENSSLBINARY}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
+ if [ -n "${OPENSSLBINARY}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
Register --test-no CRYP-7902 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check expire date of SSL certificates"
if [ ${SKIPTEST} -eq 0 ]; then
COUNT_EXPIRED=0