Fix some TLSv1.3 alert issues
authorMatt Caswell <matt@openssl.org>
Mon, 30 Jul 2018 08:13:14 +0000 (09:13 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 31 Jul 2018 08:31:50 +0000 (09:31 +0100)
commit43a0f2733a943799060ea275516fcce00d89eb38
treef306c49491086a35ac38767945b1a026006191ce
parent50db81633ece00593b245afed0ed9480d7ffb334
Fix some TLSv1.3 alert issues

Ensure that the certificate required alert actually gets sent (and doesn't
get translated into handshake failure in TLSv1.3).

Ensure that proper reason codes are given for the new TLSv1.3 alerts.

Remove an out of date macro for TLS13_AD_END_OF_EARLY_DATA. This is a left
over from an earlier TLSv1.3 draft that is no longer used.

Fixes #6804

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6809)
crypto/err/openssl.ec
include/openssl/sslerr.h
include/openssl/tls1.h
ssl/ssl_err.c
ssl/tls13_enc.c
test/ssl-tests/04-client_auth.conf
test/ssl-tests/04-client_auth.conf.in
test/ssl-tests/26-tls13_client_auth.conf
test/ssl-tests/26-tls13_client_auth.conf.in
test/ssl_test_ctx.c