diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_pkt.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index c3574b43bd..ca716a2222 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.46 2015/07/19 01:07:40 doug Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.47 2015/09/10 17:57:50 jsing 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. |
| @@ -971,9 +971,6 @@ start: | |||
| 971 | 971 | ||
| 972 | dtls1_get_ccs_header(rr->data, &ccs_hdr); | 972 | dtls1_get_ccs_header(rr->data, &ccs_hdr); |
| 973 | 973 | ||
| 974 | if (s->version == DTLS1_BAD_VER) | ||
| 975 | ccs_hdr_len = 3; | ||
| 976 | |||
| 977 | /* 'Change Cipher Spec' is just a single byte, so we know | 974 | /* 'Change Cipher Spec' is just a single byte, so we know |
| 978 | * exactly what the record payload has to look like */ | 975 | * exactly what the record payload has to look like */ |
| 979 | /* XDTLS: check that epoch is consistent */ | 976 | /* XDTLS: check that epoch is consistent */ |
| @@ -1006,10 +1003,6 @@ start: | |||
| 1006 | /* do this whenever CCS is processed */ | 1003 | /* do this whenever CCS is processed */ |
| 1007 | dtls1_reset_seq_numbers(s, SSL3_CC_READ); | 1004 | dtls1_reset_seq_numbers(s, SSL3_CC_READ); |
| 1008 | 1005 | ||
| 1009 | if (s->version == DTLS1_BAD_VER) | ||
| 1010 | s->d1->handshake_read_seq++; | ||
| 1011 | |||
| 1012 | |||
| 1013 | goto start; | 1006 | goto start; |
| 1014 | } | 1007 | } |
| 1015 | 1008 | ||
