diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/d1_both.c | 5 | ||||
-rw-r--r-- | src/lib/libssl/src/ssl/d1_both.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 67efb3346c..bd4267238f 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.21 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.22 2014/07/02 20:45:26 miod Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -609,7 +609,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) | |||
609 | goto err; | 609 | goto err; |
610 | frag_len -= i; | 610 | frag_len -= i; |
611 | } | 611 | } |
612 | return DTLS1_HM_FRAGMENT_RETRY; | 612 | i = DTLS1_HM_FRAGMENT_RETRY; |
613 | goto err; | ||
613 | } | 614 | } |
614 | 615 | ||
615 | /* read the body of the fragment (header has already been read */ | 616 | /* read the body of the fragment (header has already been read */ |
diff --git a/src/lib/libssl/src/ssl/d1_both.c b/src/lib/libssl/src/ssl/d1_both.c index 67efb3346c..bd4267238f 100644 --- a/src/lib/libssl/src/ssl/d1_both.c +++ b/src/lib/libssl/src/ssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.21 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.22 2014/07/02 20:45:26 miod Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -609,7 +609,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) | |||
609 | goto err; | 609 | goto err; |
610 | frag_len -= i; | 610 | frag_len -= i; |
611 | } | 611 | } |
612 | return DTLS1_HM_FRAGMENT_RETRY; | 612 | i = DTLS1_HM_FRAGMENT_RETRY; |
613 | goto err; | ||
613 | } | 614 | } |
614 | 615 | ||
615 | /* read the body of the fragment (header has already been read */ | 616 | /* read the body of the fragment (header has already been read */ |