diff --git a/include/tests_crypto b/include/tests_crypto index 5c2a0804..09507aac 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -229,13 +229,13 @@ Register --test-no CRYP-8005 --os Linux --weight L --network NO --root-only NO --category security --description "Presence of software pseudo random number generators" if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: looking for software pseudo random number generators" - FOUND="" - for SERVICE in audio-entropyd havegd jitterentropy-rngd; do - if IsRunning "${SERVICE}" --full; then - FOUND="${FOUND} ${SERVICE}" - fi - done - if [ -z "${FOUND}" ]; then + FOUND="" + for SERVICE in audio-entropyd havegd haveged jitterentropy-rngd; do + if IsRunning "${SERVICE}"; then + FOUND="${FOUND} ${SERVICE}" + fi + done + if [ -z "${FOUND}" ]; then Display --indent 2 --text "- SW prng" --result "${STATUS_NO}" --color YELLOW ReportSuggestion "${TEST_NO}" "Utilize software pseudo random number generators" else