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-07-13 20:29:21 +0400
committerAdam Langley <agl@google.com>2014-07-15 22:30:09 +0400
commit22f9bccde5ebd742c36f02fe05e45880221b2239 (patch)
treeb7da369edb63daaf93b8a9e25e82a392dcdef8a0 /include/openssl/dtls1.h
parent14c83e7d00d9ce97d9810a20ac1156fa3099d14c (diff)
Port ssl3_get_client_hello to CBS.
Also fix some DTLS cookie bugs. rcvd_cookie is never referenced after being saved (and the length isn't saved, so it couldn't be used anyway), and the cookie verification failed to check the length. For convenience, add a CBS_mem_equal helper function. Saves a bit of repetition. Change-Id: I187137733b069f0ac8d8b1bf151eeb80d388b971 Reviewed-on: https://boringssl-review.googlesource.com/1174 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/dtls1.h')
-rw-r--r--include/openssl/dtls1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/dtls1.h b/include/openssl/dtls1.h
index 488e33d0..5871bdb5 100644
--- a/include/openssl/dtls1.h
+++ b/include/openssl/dtls1.h
@@ -171,7 +171,6 @@ typedef struct dtls1_state_st
{
unsigned int send_cookie;
unsigned char cookie[DTLS1_COOKIE_LENGTH];
- unsigned char rcvd_cookie[DTLS1_COOKIE_LENGTH];
unsigned int cookie_len;
/*