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 <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/ssl/internal.h b/ssl/internal.h index 99993f2..22e12b5 100644 --- a/ssl/internal.h +++ b/ssl/internal.h
@@ -2061,7 +2061,7 @@ // 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 @@ // 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 87f1888..add2eb7 100644 --- a/ssl/t1_lib.cc +++ b/ssl/t1_lib.cc
@@ -1790,7 +1790,7 @@ } 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; }