From 87fe0c15da90e60ce999f6711c40e9faa0a1a3a2 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 27 Sep 2017 13:21:48 -0400 Subject: [PATCH] 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. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index e82ad3b..40c3bd3 100755 --- a/testssl.sh +++ b/testssl.sh @@ -10874,9 +10874,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