diff options
author | Boris Pismenny <borisp@mellanox.com> | 2018-11-14 23:53:57 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-12-07 11:25:45 +0000 |
commit | d6c3c1896cf3c0d69bc27da923d63f8130b13ca0 (patch) | |
tree | 6f46b01b3374299df8b1643ca09d1ce29b36e665 /apps/s_server.c | |
parent | 42ea4ef2db123b4060d6d1b92556416c5a6ce2a1 (diff) |
apps: print Kernel TLS in s_client and s_server
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5253)
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 692116137a..364f76b3f0 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2911,6 +2911,10 @@ static void print_connection_info(SSL *con) } OPENSSL_free(exportedkeymat); } +#ifndef OPENSSL_NO_KTLS + if (BIO_get_ktls_send(SSL_get_wbio(con))) + BIO_printf(bio_err, "Using Kernel TLS for sending\n"); +#endif (void)BIO_flush(bio_s_out); } |