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_client.c | |
parent | 2fab79af4666d010647c1f3b2e2687ba1201dfa4 (diff) |
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_client.c')
-rw-r--r-- | apps/s_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 6d7a83f3a9..bb4f0aab16 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -3313,6 +3313,8 @@ static void print_stuff(BIO *bio, SSL *s, int full) #ifndef OPENSSL_NO_KTLS if (BIO_get_ktls_send(SSL_get_wbio(s))) BIO_printf(bio_err, "Using Kernel TLS for sending\n"); + if (BIO_get_ktls_recv(SSL_get_rbio(s))) + BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); #endif if (OSSL_TRACE_ENABLED(TLS)) { |