From e1798f856d00bd5317c6eebda00ef8e51d14b1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sun, 16 Jan 2000 14:21:00 +0000 Subject: [PATCH] In ssl3_read_n, set rwstate to SSL_NOTHING when the requested number of bytes could be read. --- ssl/s3_pkt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 93d1461a32..ae8b981eee 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -214,6 +214,7 @@ static int ssl3_read_n(SSL *s, int n, int max, int extend) s->s3->rbuf.offset = off + n; s->s3->rbuf.left = newb - n; s->packet_length += n; + s->rwstate=SSL_NOTHING; return(n); } -- GitLab