From ffe384cfe6b0d540eebc7dc805c7cbbdb7243023 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Wed, 1 May 2019 11:13:12 -0700 Subject: [PATCH] Fix spelling in comments. (This triggers some internal tools.) Change-Id: I63bb1e8cf92d63c8ab3c1f6556613daae3f43c54 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/35844 Commit-Queue: Adam Langley Commit-Queue: David Benjamin Reviewed-by: David Benjamin --- ssl/internal.h | 4 ++-- ssl/t1_lib.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ssl/internal.h b/ssl/internal.h index 99993f25a..22e12b5ae 100644 --- a/ssl/internal.h +++ b/ssl/internal.h @@ -2061,7 +2061,7 @@ struct SSL_X509_METHOD { // hs_flush_cached_ca_names drops any cached |X509_NAME|s from |hs|. void (*hs_flush_cached_ca_names)(SSL_HANDSHAKE *hs); - // ssl_new does any neccessary initialisation of |hs|. It returns true on + // ssl_new does any necessary initialisation of |hs|. It returns true on // success or false on error. bool (*ssl_new)(SSL_HANDSHAKE *hs); // ssl_free frees anything created by |ssl_new|. @@ -2072,7 +2072,7 @@ struct SSL_X509_METHOD { // necessary. On success, it updates |ssl|'s certificate configuration as // needed and returns true. Otherwise, it returns false. bool (*ssl_auto_chain_if_needed)(SSL_HANDSHAKE *hs); - // ssl_ctx_new does any neccessary initialisation of |ctx|. It returns true on + // ssl_ctx_new does any necessary initialisation of |ctx|. It returns true on // success or false on error. bool (*ssl_ctx_new)(SSL_CTX *ctx); // ssl_ctx_free frees anything created by |ssl_ctx_new|. diff --git a/ssl/t1_lib.cc b/ssl/t1_lib.cc index 87f188893..add2eb709 100644 --- a/ssl/t1_lib.cc +++ b/ssl/t1_lib.cc @@ -1790,7 +1790,7 @@ static bool ext_ec_point_add_extension(SSL_HANDSHAKE *hs, CBB *out) { } static bool ext_ec_point_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { - // The point format extension is unneccessary in TLS 1.3. + // The point format extension is unnecessary in TLS 1.3. if (hs->min_version >= TLS1_3_VERSION) { return true; }