ssl3_read_bytes bug fix
[openssl.git] / ssl / s3_pkt.c
index 3baf6c50a8631a8f9eaff19b89050e90dcfe21f2..ec4b665939f935b771b64fa8104ac5a9f16948d5 100644 (file)
@@ -1087,6 +1087,7 @@ start:
                /* TLS just ignores unknown message types */
                if (s->version == TLS1_VERSION)
                        {
+                       rr->length = 0;
                        goto start;
                        }
 #endif