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; }