From 789085f4ebe3fc579489b2a4e3b2bccbade27587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Wed, 24 Nov 2021 16:00:39 +0100 Subject: [PATCH] Refs 12290. Fix old uncrustify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- src/cpp/rtps/transport/TCPTransportInterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpp/rtps/transport/TCPTransportInterface.cpp b/src/cpp/rtps/transport/TCPTransportInterface.cpp index 2e14b3882c7..a08ecb52aef 100644 --- a/src/cpp/rtps/transport/TCPTransportInterface.cpp +++ b/src/cpp/rtps/transport/TCPTransportInterface.cpp @@ -1523,7 +1523,7 @@ bool TCPTransportInterface::apply_tls_config() { ssl_context_.load_verify_file(config->verify_file); } - catch(const std::exception& e) + catch (const std::exception& e) { logError(TLS, "Error configuring TLS trusted CA certificate: " << e.what()); return false; // TODO check wether this should skip the rest of the configuration @@ -1536,7 +1536,7 @@ bool TCPTransportInterface::apply_tls_config() { ssl_context_.use_certificate_chain_file(config->cert_chain_file); } - catch(const std::exception& e) + catch (const std::exception& e) { logError(TLS, "Error configuring TLS certificate: " << e.what()); return false; // TODO check wether this should skip the rest of the configuration @@ -1549,7 +1549,7 @@ bool TCPTransportInterface::apply_tls_config() { ssl_context_.use_private_key_file(config->private_key_file, ssl::context::pem); } - catch(const std::exception& e) + catch (const std::exception& e) { logError(TLS, "Error configuring TLS private key: " << e.what()); return false; // TODO check wether this should skip the rest of the configuration @@ -1562,7 +1562,7 @@ bool TCPTransportInterface::apply_tls_config() { ssl_context_.use_tmp_dh_file(config->tmp_dh_file); } - catch(const std::exception& e) + catch (const std::exception& e) { logError(TLS, "Error configuring TLS dh params: " << e.what()); return false; // TODO check wether this should skip the rest of the configuration