From 6535bd837c4df935c9b8881180e8dd93a83530dc Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 9 Feb 2019 15:26:15 +0000 Subject: 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@ --- src/lib/libssl/tls13_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/tls13_client.c') diff --git a/src/lib/libssl/tls13_client.c b/src/lib/libssl/tls13_client.c index df9b91b202..6578438c78 100644 --- a/src/lib/libssl/tls13_client.c +++ b/src/lib/libssl/tls13_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_client.c,v 1.4 2019/02/09 15:20:05 jsing Exp $ */ +/* $OpenBSD: tls13_client.c,v 1.5 2019/02/09 15:26:15 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing * @@ -288,9 +288,9 @@ tls13_server_hello_recv(struct tls13_ctx *ctx) S3I(ctx->ssl)->hs_tls13.secrets = secrets; /* XXX - pass in hash. */ - if (!tls1_handshake_hash_init(s)) + if (!tls1_transcript_hash_init(s)) goto err; - if (!tls1_handshake_hash_value(s, buf, sizeof(buf), &hash_len)) + if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len)) goto err; context.data = buf; context.len = hash_len; -- cgit v1.2.3-55-g6feb