diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-05 17:46:50 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-05 17:46:50 +0300 |
commit | 8b8a1a9b66e1139e76af08fa1c9aeb4348d5c1a0 (patch) | |
tree | ba570b1b2ce5166f6d62bedfc6aa5fa1ef1af768 /include/tests_crypto | |
parent | 998af3d7deb25f08cc621b3aeb69b6b5ba345e5f (diff) |
[CRYP-7902] Use SSL paths as configured by profile
Diffstat (limited to 'include/tests_crypto')
-rw-r--r-- | include/tests_crypto | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/tests_crypto b/include/tests_crypto index 0fbcf454..64f6c5a8 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -32,15 +32,7 @@ Register --test-no CRYP-7902 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check expire date of SSL certificates" if [ ${SKIPTEST} -eq 0 ]; then FOUNDPROBLEM=0 - - # Check profiles for paths to check - for PROFILE in ${PROFILES}; do - PATHS=`grep "^ssl:certificates:" ${PROFILE} | cut -d ':' -f3` - if [ ! "${PATHS}" = "" ]; then - LogText "Added paths (from profile: ${PROFILE}): ${PATHS}" - sSSL_PATHS="${PATHS} ${sSSL_PATHS}" - fi - done + sSSL_PATHS=$(echo ${SSL_CERTIFICATE_PATHS} | sed 's/:/ /g') sSSL_PATHS=`echo ${sSSL_PATHS} | sed 's/^ //' | tr " " "\n" | sort | uniq | tr "\n" " "` LogText "Result after sorting: ${sSSL_PATHS}" |