Merge branch '2.9dev' into openssl_location
This commit is contained in:
commit
b98ef7cd8e
16
testssl.sh
16
testssl.sh
|
@ -1144,7 +1144,7 @@ html_footer() {
|
||||||
|
|
||||||
toupper() { echo -n "${1^^}" ; }
|
toupper() { echo -n "${1^^}" ; }
|
||||||
tolower() { echo -n "${1,,}" ; }
|
tolower() { echo -n "${1,,}" ; }
|
||||||
if ! toupper aaa 2>/dev/null; then
|
if ! toupper aaa 2>&1 >/dev/null; then
|
||||||
# Older bash can't do this (MacOS X), even SLES 11, see #697
|
# Older bash can't do this (MacOS X), even SLES 11, see #697
|
||||||
toupper() { tr 'a-z' 'A-Z' <<< "$1"; }
|
toupper() { tr 'a-z' 'A-Z' <<< "$1"; }
|
||||||
tolower() { tr 'A-Z' 'a-z' <<< "$1"; }
|
tolower() { tr 'A-Z' 'a-z' <<< "$1"; }
|
||||||
|
@ -11026,7 +11026,7 @@ mybanner() {
|
||||||
bb1=$(cat <<EOF
|
bb1=$(cat <<EOF
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
$PROG_NAME $VERSION from
|
$PROG_NAME $VERSION from
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
bb2=$(cat <<EOF
|
bb2=$(cat <<EOF
|
||||||
|
@ -11045,9 +11045,13 @@ EOF
|
||||||
)
|
)
|
||||||
pr_bold "$bb1"
|
pr_bold "$bb1"
|
||||||
pr_boldurl "$SWURL"; outln
|
pr_boldurl "$SWURL"; outln
|
||||||
pr_bold " ("
|
if [[ -n "$idtag" ]]; then
|
||||||
pr_grey "$idtag"
|
#FIXME: if we run it not off the git dir we miss the version tag.
|
||||||
prln_bold ")"
|
# at least we don't want to display empty brackets here...
|
||||||
|
pr_bold " ("
|
||||||
|
pr_grey "$idtag"
|
||||||
|
prln_bold ")"
|
||||||
|
fi
|
||||||
pr_bold "$bb2"
|
pr_bold "$bb2"
|
||||||
pr_boldurl "https://testssl.sh/bugs/"; outln
|
pr_boldurl "https://testssl.sh/bugs/"; outln
|
||||||
pr_bold "$bb3"
|
pr_bold "$bb3"
|
||||||
|
@ -11215,7 +11219,7 @@ prepare_logging() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! "$APPEND"; then
|
if ! "$APPEND"; then
|
||||||
[[ -e $LOGFILE ]] && fatal "\"$LOGFILE\" exists. Either use \"--append\" or (re)move it" 1
|
[[ -e $LOGFILE ]] && outln && fatal "\"$LOGFILE\" exists. Either use \"--append\" or (re)move it" 1
|
||||||
fi
|
fi
|
||||||
tmln_out "## Scan started as: \"$PROG_NAME $CMDLINE\"" >>${LOGFILE}
|
tmln_out "## Scan started as: \"$PROG_NAME $CMDLINE\"" >>${LOGFILE}
|
||||||
tmln_out "## at $HNAME:$OPENSSL_LOCATION" >>${LOGFILE}
|
tmln_out "## at $HNAME:$OPENSSL_LOCATION" >>${LOGFILE}
|
||||||
|
|
Loading…
Reference in New Issue