summaryrefslogtreecommitdiffstats
path: root/ssl/t1_trce.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-07-05 12:31:51 +0200
committerMatt Caswell <matt@openssl.org>2017-07-07 16:02:09 +0200
commit8f81476145f75851a5f894e857ceb781aa979b99 (patch)
tree3d0056d22a725f61643cf9c5ed931d5040cf5f05 /ssl/t1_trce.c
parentUpdate the early_secret generation to use the new ticket_nonce field (diff)
downloadopenssl-8f81476145f75851a5f894e857ceb781aa979b99.tar.xz
openssl-8f81476145f75851a5f894e857ceb781aa979b99.zip
Update SSL_trace() to know about ticket_nonce
Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/3852)
Diffstat (limited to 'ssl/t1_trce.c')
-rw-r--r--ssl/t1_trce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c
index 1067a7522c..ce98581a41 100644
--- a/ssl/t1_trce.c
+++ b/ssl/t1_trce.c
@@ -1341,6 +1341,9 @@ static int ssl_print_ticket(BIO *bio, int indent, SSL *s,
msg += 4;
BIO_indent(bio, indent + 2, 80);
BIO_printf(bio, "ticket_age_add=%u\n", ticket_age_add);
+ if (!ssl_print_hexbuf(bio, indent + 2, "ticket_nonce", 1, &msg,
+ &msglen))
+ return 0;
}
if (!ssl_print_hexbuf(bio, indent + 2, "ticket", 2, &msg, &msglen))
return 0;