summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-06-21 15:05:40 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-06-27 20:54:34 +0200
commit241d579382e939e893b238e5fd0604cc174ffd80 (patch)
tree61a73240f9476c18d8687e7a35d58015cf6d33dc /lib/gnutls_int.h
parentf138ff85df69976badce44a5c46157cce091020f (diff)
downloadgnutls-241d579382e939e893b238e5fd0604cc174ffd80.tar.gz
key update: corrected generation of keys
Resolves #485 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index b27fa01130..99287b3726 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -503,8 +503,8 @@ struct gnutls_key_st {
* early_secret, client_early_traffic_secret, ... */
uint8_t temp_secret[MAX_HASH_SIZE];
unsigned temp_secret_size; /* depends on negotiated PRF size */
- uint8_t hs_ckey[MAX_HASH_SIZE]; /* client_handshake_traffic_secret */
- uint8_t hs_skey[MAX_HASH_SIZE]; /* server_handshake_traffic_secret */
+ uint8_t hs_ckey[MAX_HASH_SIZE]; /* client_hs_traffic_secret/client_ap_traffic_secret */
+ uint8_t hs_skey[MAX_HASH_SIZE]; /* server_hs_traffic_secret/server_ap_traffic_secret */
uint8_t ap_expkey[MAX_HASH_SIZE]; /* exporter_master_secret */
uint8_t ap_rms[MAX_HASH_SIZE]; /* resumption_master_secret */
} tls13; /* tls1.3 */