aboutsummaryrefslogtreecommitdiff
path: root/ssl/t1_trce.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-23 15:20:22 +0000
committerMatt Caswell <matt@openssl.org>2016-12-08 17:17:12 +0000
commite46f23344462c33b9a9c25d5cfe09be7d1f039e3 (patch)
tree5f7409cc69779bd32b2112d739737e853d3f7b19 /ssl/t1_trce.c
parent71728dd8aa3acc0bc9d621f8c4a4032aa3325fe4 (diff)
downloadopenssl-e46f23344462c33b9a9c25d5cfe09be7d1f039e3.zip
openssl-e46f23344462c33b9a9c25d5cfe09be7d1f039e3.tar.gz
openssl-e46f23344462c33b9a9c25d5cfe09be7d1f039e3.tar.bz2
Add EncryptedExtensions message
At this stage the message is just empty. We need to fill it in with extension data. Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich Salz Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/t1_trce.c')
-rw-r--r--ssl/t1_trce.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c
index ee08d0e..948931d 100644
--- a/ssl/t1_trce.c
+++ b/ssl/t1_trce.c
@@ -92,6 +92,7 @@ static ssl_trace_tbl ssl_handshake_tbl[] = {
{SSL3_MT_CERTIFICATE_VERIFY, "CertificateVerify"},
{SSL3_MT_CLIENT_KEY_EXCHANGE, "ClientKeyExchange"},
{SSL3_MT_FINISHED, "Finished"},
+ {SSL3_MT_ENCRYPTED_EXTENSIONS, "EncryptedExtensions"},
{SSL3_MT_CERTIFICATE_STATUS, "CertificateStatus"}
};
@@ -1284,6 +1285,11 @@ static int ssl_print_handshake(BIO *bio, SSL *ssl,
return 0;
break;
+ case SSL3_MT_ENCRYPTED_EXTENSIONS:
+ if (!ssl_print_extensions(bio, indent + 2, 1, msg, msglen))
+ return 0;
+ break;
+
default:
BIO_indent(bio, indent + 2, 80);
BIO_puts(bio, "Unsupported, hex dump follows:\n");