Fix some SSL_export_keying_material() issues
authorMatt Caswell <matt@openssl.org>
Tue, 4 Dec 2018 08:37:04 +0000 (08:37 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 5 Dec 2018 10:59:08 +0000 (10:59 +0000)
commitdb860ea3dcf56a1993c66da22bd44460d7ac4914
tree1b8f457e57de929695cb8e4d10894ebf917ae941
parent56e0f123dc17cb99f50efbae4bbbab77f360818f
Fix some SSL_export_keying_material() issues

Fix some issues in tls13_hkdf_expand() which impact the above function
for TLSv1.3. In particular test that we can use the maximum label length
in TLSv1.3.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7755)

(cherry picked from commit 0fb2815b873304d145ed00283454fc9f3bd35e6b)
doc/man3/SSL_export_keying_material.pod
ssl/ssl_locl.h
ssl/statem/extensions.c
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c
ssl/tls13_enc.c
test/sslapitest.c
test/tls13secretstest.c