ssl3_read_bytes bug fix

Submitted by: D P Chang <dpc@qualys.com>
Reviewed by: Bodo
This commit is contained in:
Ulf Möller 2001-12-28 17:13:10 +00:00
parent b9bb1c5f77
commit c99b94be3e
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,9 @@
Changes between 0.9.6c and 0.9.6d [XX xxx XXXX]
*)
*) Fix ssl3_read_bytes (ssl/s3_pkt.c): To ignore messages of unknown
type, we must throw them away by setting rr->length to 0.
[D P Chang <dpc@qualys.com>]
Changes between 0.9.6b and 0.9.6c [21 dec 2001]

View file

@ -1077,6 +1077,7 @@ start:
/* TLS just ignores unknown message types */
if (s->version == TLS1_VERSION)
{
rr->length = 0;
goto start;
}
#endif