mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-28 18:54:36 +00:00
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)
This commit is contained in:
parent
2fab79af46
commit
005080aa62
@ -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)) {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user