Remove extra space in BEAST output

testssl.sh was inserting two spaces between the CBC ciphers detected by OpenSSL and those detected to tls_sockets(). This PR fixes the problem.

This issue was previously fixed by 87fe0c15da, but that fix was accidentally removed by the next commit: f3dc53f554.
This commit is contained in:
David Cooper 2018-05-01 09:40:20 -04:00 committed by GitHub
parent 470f8b62e6
commit 76eca42ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13722,9 +13722,9 @@ run_beast(){
done
ciphers_found[i]=true
if ( [[ "$DISPLAY_CIPHERNAMES" =~ openssl ]] && [[ "${ciph[i]}" != "-" ]] ) || [[ "${rfc_ciph[i]}" == "-" ]]; then
detected_cbc_ciphers+=" ${ciph[i]}"
detected_cbc_ciphers+="${ciph[i]} "
else
detected_cbc_ciphers+=" ${rfc_ciph[i]}"
detected_cbc_ciphers+="${rfc_ciph[i]} "
fi
vuln_beast=true
if "$WIDE" && ( [[ ${kx[i]} == "Kx=ECDH" ]] || [[ ${kx[i]} == "Kx=DH" ]] || [[ ${kx[i]} == "Kx=EDH" ]] ); then