1 |
diff -up openssl-fips-0.9.8e/ssl/d1_both.c.dtls-recursion openssl-fips-0.9.8e/ssl/d1_both.c |
2 |
--- openssl-fips-0.9.8e/ssl/d1_both.c.dtls-recursion 2014-08-08 10:53:54.843106757 +0200 |
3 |
+++ openssl-fips-0.9.8e/ssl/d1_both.c 2014-08-08 10:54:07.599170287 +0200 |
4 |
@@ -628,6 +628,7 @@ dtls1_get_message_fragment(SSL *s, int s |
5 |
int i,al; |
6 |
struct hm_header_st msg_hdr; |
7 |
|
8 |
+ redo: |
9 |
/* see if we have the required fragment already */ |
10 |
if ((frag_len = dtls1_retrieve_buffered_fragment(s,max,ok)) || *ok) |
11 |
{ |
12 |
@@ -675,8 +676,7 @@ dtls1_get_message_fragment(SSL *s, int s |
13 |
s->msg_callback_arg); |
14 |
|
15 |
s->init_num = 0; |
16 |
- return dtls1_get_message_fragment(s, st1, stn, |
17 |
- max, ok); |
18 |
+ goto redo; |
19 |
} |
20 |
else /* Incorrectly formated Hello request */ |
21 |
{ |