diff options
author | Matt Caswell <matt@openssl.org> | 2019-08-01 14:55:25 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-08-05 17:17:25 +0100 |
commit | f2bb79a78a1681f9a137d7560a17982f6e54333c (patch) | |
tree | 6f3113e71b92aec0e9e1719c452d2602f2dd4dc9 /apps/crl.c | |
parent | 74b9ce2d84a5feb36e391fc179fef16a058665e2 (diff) |
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 #9490
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9505)
(cherry picked from commit 8bbf63e48f27c5edaa03e6d87d969c9b6a207f3c)
Diffstat (limited to 'apps/crl.c')
0 files changed, 0 insertions, 0 deletions