diff options
author | Steven Valdez <svaldez@google.com> | 2016-07-29 21:32:55 +0300 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2016-08-16 23:35:32 +0300 |
commit | 4aa154e08fdc0a0c57df9e19ea3a303a2b99aed0 (patch) | |
tree | cb1bc22209365ee7831e44a13275a1a9c567c3f0 /include/openssl | |
parent | 958aaf1ea1b481e8ef32970d5b0add80504be4b2 (diff) |
Adding code to send session as PSK Identity.
BUG=75
Change-Id: Ied864cfccbc0e68d71c55c5ab563da27b7253463
Reviewed-on: https://boringssl-review.googlesource.com/9043
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/ssl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index fe6bac2e..246c0179 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -4440,6 +4440,9 @@ typedef struct ssl3_state_st { * immutable. */ SSL_SESSION *established_session; + /* session_reused indicates whether a session was resumed. */ + unsigned session_reused:1; + /* Connection binding to prevent renegotiation attacks */ uint8_t previous_client_finished[EVP_MAX_MD_SIZE]; uint8_t previous_client_finished_len; |