diff options
author | jsing <jsing@openbsd.org> | 2019-02-09 15:26:15 +0000 |
---|---|---|
committer | jsing <jsing@openbsd.org> | 2019-02-09 15:26:15 +0000 |
commit | df40b63ba255b8dcccc4ea3e283620c5b3317528 (patch) | |
tree | a94b2fcf66029db4e84db1fc4bd196634f281385 /lib/libssl/t1_enc.c | |
parent | Provide a reference from the TLSv1.3 context to the handshake state. (diff) | |
download | wireguard-openbsd-df40b63ba255b8dcccc4ea3e283620c5b3317528.tar.xz wireguard-openbsd-df40b63ba255b8dcccc4ea3e283620c5b3317528.zip |
Rename tls1_handshake_hash*() to tls1_transcript_hash*().
While handshake hash is correct (in as far as it is a hash of handshake
messages), using tls1_transcript_hash*() aligns them with the naming of the
tls1_transcript*() functions. Additionally, the TLSv1.3 specification uses
Transcript-Hash and "transcript hash", which this matches.
ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/t1_enc.c')
-rw-r--r-- | lib/libssl/t1_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c index 33158e160ea..79a5bdd2b37 100644 --- a/lib/libssl/t1_enc.c +++ b/lib/libssl/t1_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_enc.c,v 1.116 2018/11/08 22:28:52 jsing Exp $ */ +/* $OpenBSD: t1_enc.c,v 1.117 2019/02/09 15:26:15 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -919,7 +919,7 @@ tls1_final_finish_mac(SSL *s, const char *str, int str_len, unsigned char *out) if (str_len < 0) return 0; - if (!tls1_handshake_hash_value(s, buf, sizeof(buf), &hash_len)) + if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len)) return 0; if (!tls1_PRF(s, s->session->master_key, s->session->master_key_length, |