Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SSL_MODE_RELEASE_BUFFERS functionality
At some point in the past do_ssl3_write() used to return the number of bytes written, or a value <= 0 on error. It now just returns a success/ error code and writes the number of bytes written to |tmpwrit|. The SSL_MODE_RELEASE_BUFFERS code was still looking at the return code for the number of bytes written rather than |tmpwrit|. This has the effect that the buffers are not released when they are supposed to be. Fixes openssl#9490 Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#9505)
- Loading branch information