mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Remove trailing spaces
This commit is contained in:
parent
f18fb03bf3
commit
7881dc386c
@ -6697,7 +6697,7 @@ extract_stapled_ocsp() {
|
|||||||
local response="$(cat $TMPFILE)"
|
local response="$(cat $TMPFILE)"
|
||||||
local ocsp tmp
|
local ocsp tmp
|
||||||
local -i ocsp_len
|
local -i ocsp_len
|
||||||
|
|
||||||
STAPLED_OCSP_RESPONSE=""
|
STAPLED_OCSP_RESPONSE=""
|
||||||
if [[ "$response" =~ "CertificateStatus" ]]; then
|
if [[ "$response" =~ "CertificateStatus" ]]; then
|
||||||
# This is OpenSSL 1.1.0 or 1.1.1 and the response
|
# This is OpenSSL 1.1.0 or 1.1.1 and the response
|
||||||
@ -6737,7 +6737,7 @@ extract_stapled_ocsp() {
|
|||||||
ocsp_len=2*$(hex2dec "${tls_certificate_status_ascii:8:6}")
|
ocsp_len=2*$(hex2dec "${tls_certificate_status_ascii:8:6}")
|
||||||
STAPLED_OCSP_RESPONSE="${ocsp:14:ocsp_len}"
|
STAPLED_OCSP_RESPONSE="${ocsp:14:ocsp_len}"
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# arg1 is "-cipher <OpenSSL cipher>" or empty
|
# arg1 is "-cipher <OpenSSL cipher>" or empty
|
||||||
@ -15933,7 +15933,7 @@ mybanner() {
|
|||||||
bb1=$(cat <<EOF
|
bb1=$(cat <<EOF
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
$PROG_NAME $VERSION from
|
$PROG_NAME $VERSION from
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
bb2=$(cat <<EOF
|
bb2=$(cat <<EOF
|
||||||
@ -15942,7 +15942,7 @@ EOF
|
|||||||
modification under GPLv2 permitted.
|
modification under GPLv2 permitted.
|
||||||
USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!
|
USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!
|
||||||
|
|
||||||
Please file bugs @
|
Please file bugs @
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
bb3=$(cat <<EOF
|
bb3=$(cat <<EOF
|
||||||
@ -18137,4 +18137,3 @@ lets_roll() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
exit $RET
|
exit $RET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user