In ssl3_read_n, set rwstate to SSL_NOTHING when the requested

number of bytes could be read.
This commit is contained in:
Bodo Möller 2000-01-16 14:21:00 +00:00
parent 243ba4095c
commit e1798f856d

View file

@ -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);
}