projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9bb1c5
)
ssl3_read_bytes bug fix
author
Ulf Möller
<ulf@openssl.org>
Fri, 28 Dec 2001 17:13:10 +0000
(17:13 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Fri, 28 Dec 2001 17:13:10 +0000
(17:13 +0000)
Submitted by: D P Chang <dpc@qualys.com>
Reviewed by: Bodo
CHANGES
patch
|
blob
|
history
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index fddfadea39e13a4c1f9c6bcf22554266c5d968cb..8406746be0d317f347c7639565e804998a6d4e55 100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-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]
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index fbe9de9ed0366482c41eccc103c28963d94bc120..5f1f7ad303e4a44a62c34fcfbd4103c57aad2028 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-1077,6
+1077,7
@@
start:
/* TLS just ignores unknown message types */
if (s->version == TLS1_VERSION)
{
+ rr->length = 0;
goto start;
}
#endif