From fdb3e739b0f1969e83250d98bda27b938a207f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 9 Jan 2021 22:06:33 +0100 Subject: =?UTF-8?q?Typos:=20negociat=E2=80=A6=20->=20negotiat=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/network/credentials_manager.cpp | 2 +- src/network/tcp_socket_handler.cpp | 2 +- src/network/tcp_socket_handler.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/network') diff --git a/src/network/credentials_manager.cpp b/src/network/credentials_manager.cpp index 89c694c..47f8514 100644 --- a/src/network/credentials_manager.cpp +++ b/src/network/credentials_manager.cpp @@ -102,7 +102,7 @@ void BasicCredentialsManager::load_certs() if (BasicCredentialsManager::try_to_open_one_ca_bundle(paths)) BasicCredentialsManager::certs_loaded = true; else - log_warning("The CA could not be loaded, TLS negociation will probably fail."); + log_warning("The CA could not be loaded, TLS negotiation will probably fail."); } std::vector BasicCredentialsManager::trusted_certificate_authorities(const std::string&, const std::string&) diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp index e05caad..ae23b3c 100644 --- a/src/network/tcp_socket_handler.cpp +++ b/src/network/tcp_socket_handler.cpp @@ -277,7 +277,7 @@ void TCPSocketHandler::tls_recv() void TCPSocketHandler::tls_send(std::string&& data) { // We may not be connected yet, or the tls session has - // not yet been negociated + // not yet been negotiated if (this->tls && this->tls->is_active()) { const bool was_active = this->tls->is_active(); diff --git a/src/network/tcp_socket_handler.hpp b/src/network/tcp_socket_handler.hpp index c598641..b12ae57 100644 --- a/src/network/tcp_socket_handler.hpp +++ b/src/network/tcp_socket_handler.hpp @@ -212,7 +212,7 @@ private: * calls the output_fn callback with it as soon as it is created. * Therefore, we do not want to create it if we do not intend to send any * TLS-encrypted message. We create the object only when needed (for - * example after we have negociated a TLS session using a STARTTLS + * example after we have negotiated a TLS session using a STARTTLS * message, or stuf like that). * * See start_tls for the method where this object is created. -- cgit v1.2.3