This fix was previously applied to ncat_listen's read_socket in r36652
(ac8b866) as a fix for #773. It didn't fully solve the problem, though,
since the fix should have been applied in ncat_core's fdinfo_recv, right
after the call to SSL_read. This commit moves the fix where it belongs,
which also simplifies the code.
Fixes#197 and #1049.
Ncat throws errors when used with --ssl
Reported on Bugzilla by Paulo Andrade. Related - http://seclists.org/nmap-dev/2015/q4/58
The text was updated successfully, but these errors were encountered: