From 1c1f04680482a8d5cdfd7de336bd246ed3d3e992 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 3 May 2019 12:55:51 +0100 Subject: [PATCH] Replace 'ingoing' -> 'incoming' in CID debug messages --- include/mbedtls/ssl.h | 2 +- library/ssl_tls.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 5acdbd570..8c5dd140b 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -3161,7 +3161,7 @@ void mbedtls_ssl_conf_renegotiation_enforced( mbedtls_ssl_config *conf, int max_ * (Default: 2^48 - 1) * * Renegotiation is automatically triggered when a record - * counter (outgoing or ingoing) crosses the defined + * counter (outgoing or incoming) crosses the defined * threshold. The default value is meant to prevent the * connection from being closed when the counter is about to * reached its maximal value (it is not allowed to wrap). diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 5cb15f572..4d41d8328 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -964,7 +964,7 @@ int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl ) MBEDTLS_SSL_DEBUG_BUF( 3, "Outgoing CID", transform->out_cid, transform->out_cid_len ); - MBEDTLS_SSL_DEBUG_BUF( 3, "Ingoing CID", transform->in_cid, + MBEDTLS_SSL_DEBUG_BUF( 3, "Incoming CID", transform->in_cid, transform->in_cid_len ); } #endif /* MBEDTLS_SSL_CID */