summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r--src/usr.bin/openssl/s_client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c
index b35fa8c3fc..78909873b8 100644
--- a/src/usr.bin/openssl/s_client.c
+++ b/src/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_client.c,v 1.28 2016/06/21 03:56:43 bcook Exp $ */ 1/* $OpenBSD: s_client.c,v 1.29 2016/12/30 17:25:48 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1365,6 +1365,9 @@ print_stuff(BIO * bio, SSL * s, int full)
1365 } 1365 }
1366 BIO_write(bio, "\n", 1); 1366 BIO_write(bio, "\n", 1);
1367 } 1367 }
1368
1369 ssl_print_tmp_key(bio, s);
1370
1368 BIO_printf(bio, "---\nSSL handshake has read %ld bytes and written %ld bytes\n", 1371 BIO_printf(bio, "---\nSSL handshake has read %ld bytes and written %ld bytes\n",
1369 BIO_number_read(SSL_get_rbio(s)), 1372 BIO_number_read(SSL_get_rbio(s)),
1370 BIO_number_written(SSL_get_wbio(s))); 1373 BIO_number_written(SSL_get_wbio(s)));