diff options
author | Boris Pismenny <borisp@mellanox.com> | 2018-12-06 21:17:26 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-04-01 11:54:48 +0100 |
commit | 005080aa62a8da4a64cd749a2620a89b29e5be26 (patch) | |
tree | 912b98d85fcf0f8d87170d1b14d15f5b4ceb12b4 /apps/s_server.c | |
parent | 2fab79af4666d010647c1f3b2e2687ba1201dfa4 (diff) | |
download | openssl-005080aa62a8da4a64cd749a2620a89b29e5be26.tar.gz |
apps: print Kernel receive side TLS in s_client and s_server
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7848)
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 92d4579aeb..381b1c96ca 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2921,6 +2921,8 @@ static void print_connection_info(SSL *con) #ifndef OPENSSL_NO_KTLS if (BIO_get_ktls_send(SSL_get_wbio(con))) BIO_printf(bio_err, "Using Kernel TLS for sending\n"); + if (BIO_get_ktls_recv(SSL_get_rbio(con))) + BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); #endif (void)BIO_flush(bio_s_out); |