mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
fix needed answer "YES" in protocol section
This commit is contained in:
parent
85c470fcdc
commit
c4c8ff4434
10
testssl.sh
10
testssl.sh
@ -14591,7 +14591,15 @@ ignore_no_or_lame() {
|
|||||||
[[ "$WARNINGS" == batch ]] && return 1
|
[[ "$WARNINGS" == batch ]] && return 1
|
||||||
tm_warning "$1 --> "
|
tm_warning "$1 --> "
|
||||||
read a
|
read a
|
||||||
if [[ "$a" == "$(tolower "$2")" ]]; then
|
if [[ "$2" == "$(toupper "$2")" ]]; then
|
||||||
|
# all uppercase requested
|
||||||
|
if [[ "$a" == "$2" ]]; then
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
elif [[ "$2" == "$(tolower "$a")" ]]; then
|
||||||
|
# we normalize the word to continue
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user