Merge pull request #2044 from dcooper16/fix_sub_cipherlists

Fix sub_cipherlists()
This commit is contained in:
Dirk Wetter 2021-11-23 09:59:41 +01:00 committed by GitHub
commit f253920e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5889,7 +5889,7 @@ sub_cipherlists() {
elif [[ -n "$7" ]]; then elif [[ -n "$7" ]]; then
sslv2_sockets "$7" "true" sslv2_sockets "$7" "true"
if [[ $? -eq 3 ]] && [[ "$V2_HELLO_CIPHERSPEC_LENGTH" -ne 0 ]]; then if [[ $? -eq 3 ]] && [[ "$V2_HELLO_CIPHERSPEC_LENGTH" -ne 0 ]]; then
sslv2_cipherlist="$(strip_spaces "${6//,/}")" sslv2_cipherlist="$(strip_spaces "${7//,/}")"
len=${#sslv2_cipherlist} len=${#sslv2_cipherlist}
detected_ssl2_ciphers="$(grep "Supported cipher: " "$TEMPDIR/$NODEIP.parse_sslv2_serverhello.txt")" detected_ssl2_ciphers="$(grep "Supported cipher: " "$TEMPDIR/$NODEIP.parse_sslv2_serverhello.txt")"
for (( i=0; i<len; i+=6 )); do for (( i=0; i<len; i+=6 )); do