summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-04-16 17:22:19 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-05-26 04:12:03 +0000
commit300791196b170b51037f22ba9915b4587fb89bd7 (patch)
tree7af94d89c24393495606875e32985f2035847a0e /lib/gnutls_int.h
parent9fe41ad5c2a34ecbbe3697f320fbb10168f8abd9 (diff)
downloadgnutls-300791196b170b51037f22ba9915b4587fb89bd7.tar.gz
handshake: record transcript offset of client Finished
This is for deriving resumption_master_secret, whose value is calculated over ClientHello...client Finished. Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 9c9fb1533a..774a7a8bd8 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -981,6 +981,8 @@ typedef struct {
* the client key exchange message */
unsigned handshake_hash_buffer_server_finished_len;/* if non-zero it is the length of data until the
* the server finished message */
+ unsigned handshake_hash_buffer_client_finished_len;/* if non-zero it is the length of data until the
+ * the client finished message */
gnutls_buffer_st handshake_hash_buffer; /* used to keep the last received handshake
* message */
bool resumable; /* TRUE or FALSE - if we can resume that session */