diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/credentials_manager.cpp | 2 | ||||
-rw-r--r-- | src/network/tcp_socket_handler.cpp | 2 | ||||
-rw-r--r-- | src/network/tcp_socket_handler.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
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<Botan::Certificate_Store*> 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. |