Skip to content

Commit

Permalink
Refs 12290. Fix old uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
  • Loading branch information
richiware authored and JLBuenoLopez committed Dec 9, 2021
1 parent cfee2f5 commit a4382a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cpp/rtps/transport/TCPTransportInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4382a9

Please sign in to comment.