Update SSL_trace() to know about ticket_nonce
[openssl.git] / ssl / t1_trce.c
index 1067a7522ce9c27ec5513d865ef2d1847b49b732..ce98581a41f8795ce7c253ce653b6b79efdcfdf2 100644 (file)
@@ -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;