From 34298e8ada9f7ae412db5d2652cd96280b7f3761 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Mon, 21 Oct 2024 16:06:10 -0400 Subject: [PATCH] More spelling fixes --- .github/workflows/codespell.yml | 2 +- .../ESP-IDF/examples/template/components/wolfssl/component.mk | 2 +- .../examples/wolfssl_benchmark/components/wolfssl/Kconfig | 2 +- .../wolfssl_benchmark/components/wolfssl/component.mk | 2 +- .../examples/wolfssl_client/components/wolfssl/Kconfig | 2 +- .../ESP-IDF/examples/wolfssl_client/main/Kconfig.projbuild | 2 +- .../examples/wolfssl_server/components/wolfssl/Kconfig | 2 +- .../examples/wolfssl_server/components/wolfssl/component.mk | 2 +- .../ESP-IDF/examples/wolfssl_server/main/Kconfig.projbuild | 2 +- .../examples/wolfssl_server/main/include/wifi_connect.h | 2 +- .../ESP-IDF/examples/wolfssl_server/main/time_helper.c | 4 ++-- .../ESP-IDF/examples/wolfssl_server/main/wifi_connect.c | 2 +- .../ESP-IDF/examples/wolfssl_test/components/wolfssl/Kconfig | 2 +- .../examples/wolfssl_test/components/wolfssl/component.mk | 2 +- configure.ac | 2 +- src/tls.c | 2 +- src/tls13.c | 4 ++-- 17 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index eb2a516b8..55227d4db 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -27,4 +27,4 @@ jobs: # The exclude_file contains lines of code that should be ignored. This is useful for individual lines which have non-words that can safely be ignored. exclude_file: '.codespellexcludelines' # To skip files entirely from being processed, add it to the following list: - skip: '*.cproject,*.der,*.mtpj,*.pem,*.vcxproj' + skip: '*.cproject,*.der,*.mtpj,*.pem,*.vcxproj,.git,*.launch' diff --git a/IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/component.mk b/IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/component.mk index 45a1aa08f..1dfdf4b3e 100644 --- a/IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/component.mk +++ b/IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/component.mk @@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../.. # "/mnt/c" is 4 directories up: # 2 for `./test/demo` from where we run `make`, plus # 2 more from the location of `component.mk` located -# in `[currect directory]/components/wolfssl`. +# in `[current directory]/components/wolfssl`. # # Thus we need 4 parent reference to find the relative path to wolfSSL: # WOLFSSL_ROOT := ../../../../workspace/wolfssl-master diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/Kconfig b/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/Kconfig index cdd039d73..5fb96dd6c 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/Kconfig +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/Kconfig @@ -41,7 +41,7 @@ # The maximum length of options is NOT 50 characters as documented. # kconfcheck will complain that options should be 40 at most. # -# Fix option lengths first. Superflous errors on other lines may occur. +# Fix option lengths first. Superfluous errors on other lines may occur. # # The maximum length of lines is 120 characters. # diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/component.mk b/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/component.mk index 95a5a4723..d7c8c058f 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/component.mk +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/component.mk @@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../.. # "/mnt/c" is 4 directories up: # 2 for `./test/demo` from where we run `make`, plus # 2 more from the location of `component.mk` located -# in `[currect directory]/components/wolfssl`. +# in `[current directory]/components/wolfssl`. # # Thus we need 4 parent reference to find the relative path to wolfSSL: # WOLFSSL_ROOT := ../../../../workspace/wolfssl-master diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_client/components/wolfssl/Kconfig b/IDE/Espressif/ESP-IDF/examples/wolfssl_client/components/wolfssl/Kconfig index cdd039d73..5fb96dd6c 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_client/components/wolfssl/Kconfig +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_client/components/wolfssl/Kconfig @@ -41,7 +41,7 @@ # The maximum length of options is NOT 50 characters as documented. # kconfcheck will complain that options should be 40 at most. # -# Fix option lengths first. Superflous errors on other lines may occur. +# Fix option lengths first. Superfluous errors on other lines may occur. # # The maximum length of lines is 120 characters. # diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/Kconfig.projbuild b/IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/Kconfig.projbuild index 061d0aa5a..5c3880f30 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/Kconfig.projbuild +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/Kconfig.projbuild @@ -34,7 +34,7 @@ choice WOLFSSL_EXAMPLE_CHOOSE config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE bool "SSH Template App" help - Bare-bones Hellow World app that only compiles in wolfSSL and wolfSSH. + Bare-bones Hello World app that only compiles in wolfSSL and wolfSSH. See wolfSSL/wolfssh on GitHub. config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/Kconfig b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/Kconfig index cdd039d73..5fb96dd6c 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/Kconfig +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/Kconfig @@ -41,7 +41,7 @@ # The maximum length of options is NOT 50 characters as documented. # kconfcheck will complain that options should be 40 at most. # -# Fix option lengths first. Superflous errors on other lines may occur. +# Fix option lengths first. Superfluous errors on other lines may occur. # # The maximum length of lines is 120 characters. # diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/component.mk b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/component.mk index 45a1aa08f..1dfdf4b3e 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/component.mk +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/component.mk @@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../.. # "/mnt/c" is 4 directories up: # 2 for `./test/demo` from where we run `make`, plus # 2 more from the location of `component.mk` located -# in `[currect directory]/components/wolfssl`. +# in `[current directory]/components/wolfssl`. # # Thus we need 4 parent reference to find the relative path to wolfSSL: # WOLFSSL_ROOT := ../../../../workspace/wolfssl-master diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/Kconfig.projbuild b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/Kconfig.projbuild index 061d0aa5a..5c3880f30 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/Kconfig.projbuild +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/Kconfig.projbuild @@ -34,7 +34,7 @@ choice WOLFSSL_EXAMPLE_CHOOSE config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE bool "SSH Template App" help - Bare-bones Hellow World app that only compiles in wolfSSL and wolfSSH. + Bare-bones Hello World app that only compiles in wolfSSL and wolfSSH. See wolfSSL/wolfssh on GitHub. config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/include/wifi_connect.h b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/include/wifi_connect.h index 668f6b8e9..b53a440a1 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/include/wifi_connect.h +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/include/wifi_connect.h @@ -109,7 +109,7 @@ ** the config you want - ie #define EXAMPLE_WIFI_SSID "mywifissid" */ #if defined(CONFIG_ESP_WIFI_SSID) - /* tyically from ESP32 with ESP-IDF v4 ot v5 */ + /* tyically from ESP32 with ESP-IDF v4 to v5 */ #define EXAMPLE_ESP_WIFI_SSID CONFIG_ESP_WIFI_SSID #elif defined(CONFIG_EXAMPLE_WIFI_SSID) /* typically from ESP8266 rtos-sdk/v3.4 */ diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/time_helper.c b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/time_helper.c index 8648ed523..5503608aa 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/time_helper.c +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/time_helper.c @@ -185,7 +185,7 @@ int set_time_from_string(const char* time_buffer) int quote_offset = 0; int ret = 0; - /* perform some basic sanity checkes */ + /* perform some basic sanity checks */ ret = probably_valid_time_string(time_buffer); if (ret == ESP_OK) { /* we are expecting the string to be encapsulated in single quotes */ @@ -263,7 +263,7 @@ int set_time(void) esp_show_current_datetime(); #ifdef LIBWOLFSSL_VERSION_GIT_HASH_DATE - /* initialy set a default approximate time from recent git commit */ + /* initially set a default approximate time from recent git commit */ ESP_LOGI(TAG, "Found git hash date, attempting to set system date: %s", LIBWOLFSSL_VERSION_GIT_HASH_DATE); set_time_from_string(LIBWOLFSSL_VERSION_GIT_HASH_DATE"\0"); diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/wifi_connect.c b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/wifi_connect.c index d7d1ff8c3..434aca6a5 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/wifi_connect.c +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_server/main/wifi_connect.c @@ -146,7 +146,7 @@ int wifi_init_sta(void) }; /* Setting a password implies station will connect to all security modes including WEP/WPA. - * However these modes are deprecated and not advisable to be used. Incase your Access point + * However these modes are deprecated and not advisable to be used. In case your Access point * doesn't support WPA2, these mode can be enabled by commenting below line */ if (strlen((char *)wifi_config.sta.password)) { diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/Kconfig b/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/Kconfig index cdd039d73..5fb96dd6c 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/Kconfig +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/Kconfig @@ -41,7 +41,7 @@ # The maximum length of options is NOT 50 characters as documented. # kconfcheck will complain that options should be 40 at most. # -# Fix option lengths first. Superflous errors on other lines may occur. +# Fix option lengths first. Superfluous errors on other lines may occur. # # The maximum length of lines is 120 characters. # diff --git a/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/component.mk b/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/component.mk index bab08b552..0811ea2b0 100644 --- a/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/component.mk +++ b/IDE/Espressif/ESP-IDF/examples/wolfssl_test/components/wolfssl/component.mk @@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../.. # "/mnt/c" is 4 directories up: # 2 for `./test/demo` from where we run `make`, plus # 2 more from the location of `component.mk` located -# in `[currect directory]/components/wolfssl`. +# in `[current directory]/components/wolfssl`. # # Thus we need 4 parent reference to find the relative path to wolfSSL: # WOLFSSL_ROOT := ../../../../workspace/wolfssl-master diff --git a/configure.ac b/configure.ac index 67298c4cd..2b1b8fd41 100644 --- a/configure.ac +++ b/configure.ac @@ -9612,7 +9612,7 @@ if test "$ENABLED_DH" != "no" && test "$ENABLED_DH" != "const"; then LT_LIB_M fi -# mulitple OCSP stapling for TLS 1.3 Certificate extension +# multiple OCSP stapling for TLS 1.3 Certificate extension if test "$ENABLED_CERTIFICATE_STATUS_REQUEST" = "yes" then if test "$ENABLED_TLS13" = "yes" diff --git a/src/tls.c b/src/tls.c index a42db1d51..4a9bca117 100644 --- a/src/tls.c +++ b/src/tls.c @@ -3649,7 +3649,7 @@ int TLSX_CSR_InitRequest_ex(TLSX* extensions, DecodedCert* cert, request = &csr->request.ocsp[req_cnt]; if (request->serial != NULL) { - /* clear request contents before re-use */ + /* clear request contents before reuse */ FreeOcspRequest(request); if (csr->requests > 0) csr->requests--; diff --git a/src/tls13.c b/src/tls13.c index ce9ae4d1e..5cbd5a3b6 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -13033,7 +13033,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl) } /* make sure this wolfSSL object has arrays and rng setup. Protects - * case where the WOLFSSL object is re-used via wolfSSL_clear() */ + * case where the WOLFSSL object is reused via wolfSSL_clear() */ if ((ret = ReinitSSL(ssl, ssl->ctx, 0)) != 0) { return ret; } @@ -14134,7 +14134,7 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl) } /* make sure this wolfSSL object has arrays and rng setup. Protects - * case where the WOLFSSL object is re-used via wolfSSL_clear() */ + * case where the WOLFSSL object is reused via wolfSSL_clear() */ if ((ret = ReinitSSL(ssl, ssl->ctx, 0)) != 0) { return ret; }