mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
More spelling fixes
This commit is contained in:
2
.github/workflows/codespell.yml
vendored
2
.github/workflows/codespell.yml
vendored
@@ -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.
|
# 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'
|
exclude_file: '.codespellexcludelines'
|
||||||
# To skip files entirely from being processed, add it to the following list:
|
# 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'
|
||||||
|
@@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../..
|
|||||||
# "/mnt/c" is 4 directories up:
|
# "/mnt/c" is 4 directories up:
|
||||||
# 2 for `./test/demo` from where we run `make`, plus
|
# 2 for `./test/demo` from where we run `make`, plus
|
||||||
# 2 more from the location of `component.mk` located
|
# 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:
|
# Thus we need 4 parent reference to find the relative path to wolfSSL:
|
||||||
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
# The maximum length of options is NOT 50 characters as documented.
|
# The maximum length of options is NOT 50 characters as documented.
|
||||||
# kconfcheck will complain that options should be 40 at most.
|
# 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.
|
# The maximum length of lines is 120 characters.
|
||||||
#
|
#
|
||||||
|
@@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../..
|
|||||||
# "/mnt/c" is 4 directories up:
|
# "/mnt/c" is 4 directories up:
|
||||||
# 2 for `./test/demo` from where we run `make`, plus
|
# 2 for `./test/demo` from where we run `make`, plus
|
||||||
# 2 more from the location of `component.mk` located
|
# 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:
|
# Thus we need 4 parent reference to find the relative path to wolfSSL:
|
||||||
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
# The maximum length of options is NOT 50 characters as documented.
|
# The maximum length of options is NOT 50 characters as documented.
|
||||||
# kconfcheck will complain that options should be 40 at most.
|
# 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.
|
# The maximum length of lines is 120 characters.
|
||||||
#
|
#
|
||||||
|
@@ -34,7 +34,7 @@ choice WOLFSSL_EXAMPLE_CHOOSE
|
|||||||
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE
|
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE
|
||||||
bool "SSH Template App"
|
bool "SSH Template App"
|
||||||
help
|
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.
|
See wolfSSL/wolfssh on GitHub.
|
||||||
|
|
||||||
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER
|
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
# The maximum length of options is NOT 50 characters as documented.
|
# The maximum length of options is NOT 50 characters as documented.
|
||||||
# kconfcheck will complain that options should be 40 at most.
|
# 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.
|
# The maximum length of lines is 120 characters.
|
||||||
#
|
#
|
||||||
|
@@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../..
|
|||||||
# "/mnt/c" is 4 directories up:
|
# "/mnt/c" is 4 directories up:
|
||||||
# 2 for `./test/demo` from where we run `make`, plus
|
# 2 for `./test/demo` from where we run `make`, plus
|
||||||
# 2 more from the location of `component.mk` located
|
# 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:
|
# Thus we need 4 parent reference to find the relative path to wolfSSL:
|
||||||
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
||||||
|
@@ -34,7 +34,7 @@ choice WOLFSSL_EXAMPLE_CHOOSE
|
|||||||
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE
|
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_TEMPLATE
|
||||||
bool "SSH Template App"
|
bool "SSH Template App"
|
||||||
help
|
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.
|
See wolfSSL/wolfssh on GitHub.
|
||||||
|
|
||||||
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER
|
config WOLFSSL_EXAMPLE_NAME_WOLFSSH_ECHOSERVER
|
||||||
|
@@ -109,7 +109,7 @@
|
|||||||
** the config you want - ie #define EXAMPLE_WIFI_SSID "mywifissid"
|
** the config you want - ie #define EXAMPLE_WIFI_SSID "mywifissid"
|
||||||
*/
|
*/
|
||||||
#if defined(CONFIG_ESP_WIFI_SSID)
|
#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
|
#define EXAMPLE_ESP_WIFI_SSID CONFIG_ESP_WIFI_SSID
|
||||||
#elif defined(CONFIG_EXAMPLE_WIFI_SSID)
|
#elif defined(CONFIG_EXAMPLE_WIFI_SSID)
|
||||||
/* typically from ESP8266 rtos-sdk/v3.4 */
|
/* typically from ESP8266 rtos-sdk/v3.4 */
|
||||||
|
@@ -185,7 +185,7 @@ int set_time_from_string(const char* time_buffer)
|
|||||||
int quote_offset = 0;
|
int quote_offset = 0;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
/* perform some basic sanity checkes */
|
/* perform some basic sanity checks */
|
||||||
ret = probably_valid_time_string(time_buffer);
|
ret = probably_valid_time_string(time_buffer);
|
||||||
if (ret == ESP_OK) {
|
if (ret == ESP_OK) {
|
||||||
/* we are expecting the string to be encapsulated in single quotes */
|
/* we are expecting the string to be encapsulated in single quotes */
|
||||||
@@ -263,7 +263,7 @@ int set_time(void)
|
|||||||
esp_show_current_datetime();
|
esp_show_current_datetime();
|
||||||
|
|
||||||
#ifdef LIBWOLFSSL_VERSION_GIT_HASH_DATE
|
#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",
|
ESP_LOGI(TAG, "Found git hash date, attempting to set system date: %s",
|
||||||
LIBWOLFSSL_VERSION_GIT_HASH_DATE);
|
LIBWOLFSSL_VERSION_GIT_HASH_DATE);
|
||||||
set_time_from_string(LIBWOLFSSL_VERSION_GIT_HASH_DATE"\0");
|
set_time_from_string(LIBWOLFSSL_VERSION_GIT_HASH_DATE"\0");
|
||||||
|
@@ -146,7 +146,7 @@ int wifi_init_sta(void)
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Setting a password implies station will connect to all security modes including WEP/WPA.
|
/* 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 */
|
* doesn't support WPA2, these mode can be enabled by commenting below line */
|
||||||
|
|
||||||
if (strlen((char *)wifi_config.sta.password)) {
|
if (strlen((char *)wifi_config.sta.password)) {
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
# The maximum length of options is NOT 50 characters as documented.
|
# The maximum length of options is NOT 50 characters as documented.
|
||||||
# kconfcheck will complain that options should be 40 at most.
|
# 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.
|
# The maximum length of lines is 120 characters.
|
||||||
#
|
#
|
||||||
|
@@ -82,7 +82,7 @@ WOLFSSL_ROOT := ../../../../../../..
|
|||||||
# "/mnt/c" is 4 directories up:
|
# "/mnt/c" is 4 directories up:
|
||||||
# 2 for `./test/demo` from where we run `make`, plus
|
# 2 for `./test/demo` from where we run `make`, plus
|
||||||
# 2 more from the location of `component.mk` located
|
# 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:
|
# Thus we need 4 parent reference to find the relative path to wolfSSL:
|
||||||
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
# WOLFSSL_ROOT := ../../../../workspace/wolfssl-master
|
||||||
|
@@ -9612,7 +9612,7 @@ if test "$ENABLED_DH" != "no" && test "$ENABLED_DH" != "const"; then
|
|||||||
LT_LIB_M
|
LT_LIB_M
|
||||||
fi
|
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"
|
if test "$ENABLED_CERTIFICATE_STATUS_REQUEST" = "yes"
|
||||||
then
|
then
|
||||||
if test "$ENABLED_TLS13" = "yes"
|
if test "$ENABLED_TLS13" = "yes"
|
||||||
|
@@ -3649,7 +3649,7 @@ int TLSX_CSR_InitRequest_ex(TLSX* extensions, DecodedCert* cert,
|
|||||||
|
|
||||||
request = &csr->request.ocsp[req_cnt];
|
request = &csr->request.ocsp[req_cnt];
|
||||||
if (request->serial != NULL) {
|
if (request->serial != NULL) {
|
||||||
/* clear request contents before re-use */
|
/* clear request contents before reuse */
|
||||||
FreeOcspRequest(request);
|
FreeOcspRequest(request);
|
||||||
if (csr->requests > 0)
|
if (csr->requests > 0)
|
||||||
csr->requests--;
|
csr->requests--;
|
||||||
|
@@ -13033,7 +13033,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* make sure this wolfSSL object has arrays and rng setup. Protects
|
/* 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) {
|
if ((ret = ReinitSSL(ssl, ssl->ctx, 0)) != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -14134,7 +14134,7 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* make sure this wolfSSL object has arrays and rng setup. Protects
|
/* 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) {
|
if ((ret = ReinitSSL(ssl, ssl->ctx, 0)) != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user