diff options
Diffstat (limited to 'src/lib/libssl/d1_pkt.c')
-rw-r--r-- | src/lib/libssl/d1_pkt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 1ff664370b..b26ff2cec2 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_pkt.c,v 1.44 2015/07/18 22:36:55 doug Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.45 2015/07/18 23:00:23 doug 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. |
@@ -1018,7 +1018,8 @@ start: | |||
1018 | struct hm_header_st msg_hdr; | 1018 | struct hm_header_st msg_hdr; |
1019 | 1019 | ||
1020 | /* this may just be a stale retransmit */ | 1020 | /* this may just be a stale retransmit */ |
1021 | dtls1_get_message_header(rr->data, &msg_hdr); | 1021 | if (!dtls1_get_message_header(rr->data, &msg_hdr)) |
1022 | return -1; | ||
1022 | if (rr->epoch != s->d1->r_epoch) { | 1023 | if (rr->epoch != s->d1->r_epoch) { |
1023 | rr->length = 0; | 1024 | rr->length = 0; |
1024 | goto start; | 1025 | goto start; |