In ssl3_read_n, set rwstate to SSL_NOTHING when the requested
number of bytes could be read.
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 93d1461..ae8b981 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -214,6 +214,7 @@
 	s->s3->rbuf.offset = off + n;
 	s->s3->rbuf.left = newb - n;
 	s->packet_length += n;
+	s->rwstate=SSL_NOTHING;
 	return(n);
 	}