summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-10-05 10:41:23 +0200
committerDaiki Ueno <dueno@redhat.com>2018-11-11 07:03:43 +0100
commit787aad1b016d82ebc4a1eda53d30de48f2841311 (patch)
treef599e94880a77631a6e45ae49fe98e52a341f068 /lib/gnutls_int.h
parent53d28c0461465e800821f81a092e3d7e43f60fbc (diff)
downloadgnutls-787aad1b016d82ebc4a1eda53d30de48f2841311.tar.gz
handshake: record transcript hash for ClientHello
This is necessary to compute client_early_traffic_secret and early_exporter_master_secret in TLS 1.3. Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 3eece0278f..6fc3672f34 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1072,6 +1072,7 @@ typedef struct {
int handshake_hash_buffer_prev_len; /* keeps the length of handshake_hash_buffer, excluding
* the last received message */
+ unsigned handshake_hash_buffer_client_hello_len; /* if non-zero it is the length of data until the client hello message */
unsigned handshake_hash_buffer_client_kx_len;/* if non-zero it is the length of data until the
* the client key exchange message */
unsigned handshake_hash_buffer_server_finished_len;/* if non-zero it is the length of data until the