From: Matt Caswell Date: Wed, 5 Jul 2017 10:31:51 +0000 (+0100) Subject: Update SSL_trace() to know about ticket_nonce X-Git-Tag: OpenSSL_1_1_1-pre1~1081 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8f81476145f75851a5f894e857ceb781aa979b99;p=oweals%2Fopenssl.git Update SSL_trace() to know about ticket_nonce Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/3852) --- 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;