From 42de8f8a426c925ba5c0d33ed51cf54f08301952 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 26 Feb 2019 11:51:34 +0000 Subject: [PATCH] Fix typo in documentation of ssl_parse_certificate_chain() --- library/ssl_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 07e30a369..fce29f5fa 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -6327,7 +6327,7 @@ static int ssl_parse_certificate_chain( mbedtls_ssl_context *ssl, #if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE) ret = mbedtls_x509_crt_parse_der( chain, ssl->in_msg + i, n ); #else - /* If we don't need to store the CRT chani permanently, parse + /* If we don't need to store the CRT chain permanently, parse * it in-place from the input buffer instead of making a copy. */ ret = mbedtls_x509_crt_parse_der_nocopy( chain, ssl->in_msg + i, n ); #endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */