summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_enc.c
diff options
context:
space:
mode:
authorjsing <>2019-02-09 15:26:15 +0000
committerjsing <>2019-02-09 15:26:15 +0000
commitbf3fc1487ab4d49b366d075e6f48ee4eef2d29a4 (patch)
treeccde70d521f0e94dd1570fd0a07f27a5b4ca631e /src/lib/libssl/t1_enc.c
parent697813b6701818d308182e24502b82a16067be78 (diff)
downloadopenbsd-bf3fc1487ab4d49b366d075e6f48ee4eef2d29a4.tar.gz
openbsd-bf3fc1487ab4d49b366d075e6f48ee4eef2d29a4.tar.bz2
openbsd-bf3fc1487ab4d49b366d075e6f48ee4eef2d29a4.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 'src/lib/libssl/t1_enc.c')
-rw-r--r--src/lib/libssl/t1_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c
index 33158e160e..79a5bdd2b3 100644
--- a/src/lib/libssl/t1_enc.c
+++ b/src/lib/libssl/t1_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_enc.c,v 1.116 2018/11/08 22:28:52 jsing Exp $ */ 1/* $OpenBSD: t1_enc.c,v 1.117 2019/02/09 15:26:15 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -919,7 +919,7 @@ tls1_final_finish_mac(SSL *s, const char *str, int str_len, unsigned char *out)
919 if (str_len < 0) 919 if (str_len < 0)
920 return 0; 920 return 0;
921 921
922 if (!tls1_handshake_hash_value(s, buf, sizeof(buf), &hash_len)) 922 if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len))
923 return 0; 923 return 0;
924 924
925 if (!tls1_PRF(s, s->session->master_key, s->session->master_key_length, 925 if (!tls1_PRF(s, s->session->master_key, s->session->master_key_length,