apps: print Kernel TLS in s_client and s_server
[openssl.git] / apps / s_server.c
index 692116137a864c83fbe3d148d06f4b978407aa3f..364f76b3f0842623b8436eb11bff0961fb20f499 100644 (file)
@@ -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);
 }