summaryrefslogtreecommitdiffstats
path: root/ssl/d1_pkt.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-11-29 14:45:50 +0000
committerBodo Möller <bodo@openssl.org>2006-11-29 14:45:50 +0000
commit1e24b3a09e31b10649e5024b502ac3d7276923fe (patch)
treec89aeee02f9af875342c47ec72392d6154197f16 /ssl/d1_pkt.c
parent73b979e601f09c8a235dd7dc92a841843af31459 (diff)
fix support for receiving fragmented handshake messages
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r--ssl/d1_pkt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index 0b099325e1..8a047aeda7 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -573,11 +573,7 @@ again:
n2s(p,rr->length);
/* Lets check version */
- if (s->first_packet)
- {
- s->first_packet=0;
- }
- else
+ if (!s->first_packet)
{
if (version != s->version)
{