Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-08-03 21:37:47 +0400
committerAdam Langley <agl@google.com>2014-08-18 21:57:01 +0400
commitcc23df53da503b6095d4c8d0dd5207e90ebf4580 (patch)
tree5db85239d79f6d06d1fa1fb2f488cc1eea9f90ac /ssl/d1_pkt.c
parent6f2600199c82330240de9a7f65a801b6f606b7b3 (diff)
Remove SSL_OP_CISCO_ANYCONNECT.
I see no internal users and the existence of a THIRD version encoding complicates all version-checking logic. Also convert another version check to SSL_IS_DTLS that was missed earlier. Change-Id: I60d215f57d44880f6e6877889307dc39dbf838f7 Reviewed-on: https://boringssl-review.googlesource.com/1550 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r--ssl/d1_pkt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index 161f9393..e2855b82 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -1101,9 +1101,6 @@ start:
dtls1_get_ccs_header(rr->data, &ccs_hdr);
- if (s->version == DTLS1_BAD_VER)
- ccs_hdr_len = 3;
-
/* 'Change Cipher Spec' is just a single byte, so we know
* exactly what the record payload has to look like */
/* XDTLS: check that epoch is consistent */
@@ -1138,9 +1135,6 @@ start:
/* do this whenever CCS is processed */
dtls1_reset_seq_numbers(s, SSL3_CC_READ);
- if (s->version == DTLS1_BAD_VER)
- s->d1->handshake_read_seq++;
-
goto start;
}