diff options
author | Matt Caswell <matt@openssl.org> | 2017-07-05 12:31:51 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-07-07 16:02:09 +0200 |
commit | 8f81476145f75851a5f894e857ceb781aa979b99 (patch) | |
tree | 3d0056d22a725f61643cf9c5ed931d5040cf5f05 | |
parent | Update the early_secret generation to use the new ticket_nonce field (diff) | |
download | openssl-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)
-rw-r--r-- | ssl/t1_trce.c | 3 |
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; |