diff options
author | jsing <> | 2019-02-09 15:26:15 +0000 |
---|---|---|
committer | jsing <> | 2019-02-09 15:26:15 +0000 |
commit | 6535bd837c4df935c9b8881180e8dd93a83530dc (patch) | |
tree | ccde70d521f0e94dd1570fd0a07f27a5b4ca631e /src/lib/libssl/s3_lib.c | |
parent | 420e1203852fc99e786ceb80cff5559b6be38fbf (diff) | |
download | openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.tar.gz openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.tar.bz2 openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.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/s3_lib.c')
-rw-r--r-- | src/lib/libssl/s3_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index b7d87268ab..de928bd70e 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_lib.c,v 1.183 2019/01/24 15:50:47 beck Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.184 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 | * |
@@ -1574,7 +1574,7 @@ ssl3_free(SSL *s) | |||
1574 | sk_X509_NAME_pop_free(S3I(s)->tmp.ca_names, X509_NAME_free); | 1574 | sk_X509_NAME_pop_free(S3I(s)->tmp.ca_names, X509_NAME_free); |
1575 | 1575 | ||
1576 | tls1_transcript_free(s); | 1576 | tls1_transcript_free(s); |
1577 | tls1_handshake_hash_free(s); | 1577 | tls1_transcript_hash_free(s); |
1578 | 1578 | ||
1579 | free(S3I(s)->alpn_selected); | 1579 | free(S3I(s)->alpn_selected); |
1580 | 1580 | ||
@@ -1622,7 +1622,7 @@ ssl3_clear(SSL *s) | |||
1622 | wlen = S3I(s)->wbuf.len; | 1622 | wlen = S3I(s)->wbuf.len; |
1623 | 1623 | ||
1624 | tls1_transcript_free(s); | 1624 | tls1_transcript_free(s); |
1625 | tls1_handshake_hash_free(s); | 1625 | tls1_transcript_hash_free(s); |
1626 | 1626 | ||
1627 | free(S3I(s)->alpn_selected); | 1627 | free(S3I(s)->alpn_selected); |
1628 | S3I(s)->alpn_selected = NULL; | 1628 | S3I(s)->alpn_selected = NULL; |