Please sign in to comment.
Binary string washer (0x00 bytes) (probably) after completed ClientHello
This commit proactively tries to address cases where the server side adds Null Bytes after or during ClientHello in cases where it should be text only. Now VAR2=$(< $VAR1) is being replaced by VAR2=$(cat -v $VAR1) which is normally not best practice and also considered a useless use of "cat", see https://web.archive.org/web/20160711205930/http://porkmail.org/era/unix/award.html#uucaletter. Especially with bash 3.2 (Mac OS X) AND when on the server side binary chars it was reported to not work ok, see #1292. Performance measurements showed no to barely measureable penalty (at max 1s displayed difference in 9 tries).
- Loading branch information...