Merge pull request #2641 from testssl/sieve_fix

two sieve fixes to make it work
This commit is contained in:
Dirk Wetter 2025-01-29 16:29:38 +01:00 committed by GitHub
commit aa4e9a4d41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11500,8 +11500,7 @@ starttls_full_read(){
debugme tmln_out "${debugpad} ${one_line} "
IFS="${oldIFS}"
break
fi
if [[ ! ${one_line} =~ ${cont_pattern} ]]; then
elif [[ ! ${one_line} =~ ${cont_pattern} ]]; then
debugme echo "=== full read syntax error, expected regex pattern ${cont_pattern} (cont) or ${end_pattern} (end) ==="
IFS="${oldIFS}"
ret_found=2