Merge pull request #2045 from dcooper16/fix_sub_cipherlists_30

Fix sub_cipherlists() in 3.0
This commit is contained in:
Dirk Wetter 2021-11-23 10:00:01 +01:00 committed by GitHub
commit f5bd5d3eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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