summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-04-10 17:48:03 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-04-10 17:48:03 +0000
commit921dd758cdf9f6603253796bbb1d20639193940c (patch)
treeff5fc4179811450a85afebae738432a68e54394e /lib
parentb4c6e953f4802a3834d38e91336837f744503c02 (diff)
don't release the read buffer if we're not done reading from it.
ok benno deraadt
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/s3_pkt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/s3_pkt.c b/lib/libssl/s3_pkt.c
index c499c29cb5e..c5706eadb0d 100644
--- a/lib/libssl/s3_pkt.c
+++ b/lib/libssl/s3_pkt.c
@@ -1054,8 +1054,6 @@ start:
{
s->rstate=SSL_ST_READ_HEADER;
rr->off=0;
- if (s->mode & SSL_MODE_RELEASE_BUFFERS)
- ssl3_release_read_buffer(s);
}
}
return(n);