summaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorbodo <bodo>2000-01-16 14:21:00 +0000
committerbodo <bodo>2000-01-16 14:21:00 +0000
commit0545a08252d78cee96bfdf908a9d832ac82d2dea (patch)
tree6cd77a6ed23a941a852b170be5eddade88ee6c96 /ssl
parentbe4f9cd2199e8fd2cda6ffc71b795c9db4dd569f (diff)
downloadopenssl-0545a08252d78cee96bfdf908a9d832ac82d2dea.tar.gz
In ssl3_read_n, set rwstate to SSL_NOTHING when the requested
number of bytes could be read.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_pkt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 93d1461a3..ae8b981ee 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);
}