summaryrefslogtreecommitdiff
path: root/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-02-09 15:26:16 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-02-09 15:26:16 +0000
commita5d39962238a0507ff44de648cb1ffbf95e5e1ca (patch)
tree6b73c0b86d2bf39b74981f478891f4861e4792eb /lib/libssl/s3_lib.c
parent0349a391b9770d165b316852144531a0e541d9f3 (diff)
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/s3_lib.c')
-rw-r--r--lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index b7d87268abc..de928bd70e1 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.183 2019/01/24 15:50:47 beck Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.184 2019/02/09 15:26:15 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1574,7 +1574,7 @@ ssl3_free(SSL *s)
sk_X509_NAME_pop_free(S3I(s)->tmp.ca_names, X509_NAME_free);
tls1_transcript_free(s);
- tls1_handshake_hash_free(s);
+ tls1_transcript_hash_free(s);
free(S3I(s)->alpn_selected);
@@ -1622,7 +1622,7 @@ ssl3_clear(SSL *s)
wlen = S3I(s)->wbuf.len;
tls1_transcript_free(s);
- tls1_handshake_hash_free(s);
+ tls1_transcript_hash_free(s);
free(S3I(s)->alpn_selected);
S3I(s)->alpn_selected = NULL;