From 24268e063e7642f3e5a2bb2cfa08b72aa7083ff5 Mon Sep 17 00:00:00 2001 From: Richard Soderberg Date: Sat, 5 Sep 2015 04:33:06 -0700 Subject: [PATCH] Fixes one instance of "SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate." In cipherscan line 427: local sslcommand=$@ ^-- SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. --- cipherscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipherscan b/cipherscan index 1c89996..62c0281 100755 --- a/cipherscan +++ b/cipherscan @@ -461,7 +461,7 @@ parse_openssl_output() { # Connect to a target host with the selected ciphersuite test_cipher_on_target() { - local sslcommand=$@ + local sslcommand="$*" cipher="" local cmnd="" protocols=""