Skip to content

Commit e5109b3

Browse files
committed
misc cleanup: extra spaces, typos.
1 parent 72711b4 commit e5109b3

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10197,7 +10197,7 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
1019710197
WOLFSSL_LEAVE("wolfSSL_accept", WOLFSSL_SUCCESS);
1019810198
return WOLFSSL_SUCCESS;
1019910199

10200-
default :
10200+
default:
1020110201
WOLFSSL_MSG("Unknown accept state ERROR");
1020210202
return WOLFSSL_FATAL_ERROR;
1020310203
}

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14490,7 +14490,7 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl)
1449014490
WOLFSSL_LEAVE("wolfSSL_accept", WOLFSSL_SUCCESS);
1449114491
return WOLFSSL_SUCCESS;
1449214492

14493-
default :
14493+
default:
1449414494
WOLFSSL_MSG("Unknown accept state ERROR");
1449514495
return WOLFSSL_FATAL_ERROR;
1449614496
}

wolfcrypt/test/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29284,7 +29284,7 @@ static wc_test_ret_t ecdsa_test_deterministic_k_sig(ecc_key *key,
2928429284
goto done;
2928529285
}
2928629286

29287-
/* Verificiation */
29287+
/* Verification */
2928829288
verify = 0;
2928929289
do {
2929029290
#if defined(WOLFSSL_ASYNC_CRYPT)
@@ -29451,7 +29451,7 @@ static wc_test_ret_t ecdsa_test_deterministic_k_rs(ecc_key *key,
2945129451
ERROR_OUT(WC_TEST_RET_ENC_NC, done);
2945229452
}
2945329453

29454-
/* Verificiation */
29454+
/* Verification */
2945529455
verify = 0;
2945629456
ret = wc_ecc_verify_hash_ex(r, s, hash, wc_HashGetDigestSize(hashType),
2945729457
&verify, key);

wolfssl/wolfcrypt/settings.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@
515515
* in the Kconfig file. At cmake time, the Kconfig is processed and an
516516
* sdkconfig.h file is created by the ESP-IDF. Any configured options are
517517
* named CONFIG_[Kconfig name] and thus CONFIG_[macro name]. Those that
518-
* are expected to be ESP-IDF specific and may be ambigous can named
518+
* are expected to be ESP-IDF specific and may be ambiguous can named
519519
* with an ESP prefix, for example CONFIG_[ESP_(Kconfig name)]
520520
*
521521
* Note there are some inconsistent macro names that may have been
@@ -582,7 +582,7 @@
582582
#endif
583583

584584
#if defined(CONFIG_TLS_STACK_WOLFSSL) && (CONFIG_TLS_STACK_WOLFSSL)
585-
/* When using ESP-TLS, some old algoritms such as SHA1 are no longer
585+
/* When using ESP-TLS, some old algorithms such as SHA1 are no longer
586586
* enabled in wolfSSL, except for the OpenSSL compatibility. So enable
587587
* that here: */
588588
#define OPENSSL_EXTRA
@@ -4035,7 +4035,7 @@ extern void uITRON4_free(void *p) ;
40354035

40364036
#if defined(CONFIG_WOLFSSL_NO_ASN_STRICT) && !defined(WOLFSSL_NO_ASN_STRICT)
40374037
/* The settings.h and/or user_settings.h should have detected config
4038-
* valuse from Kconfig and set the appropriate wolfSSL macro: */
4038+
* values from Kconfig and set the appropriate wolfSSL macro: */
40394039
#error "CONFIG_WOLFSSL_NO_ASN_STRICT found without WOLFSSL_NO_ASN_STRICT"
40404040
#endif
40414041

wolfssl/wolfcrypt/wc_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ WOLFSSL_LOCAL void wolfSSL_RefDec(wolfSSL_Ref* ref, int* isZero, int* err);
450450

451451
#if defined(WOLFSSL_ALGO_HW_MUTEX) && (defined(NO_RNG_MUTEX) && \
452452
defined(NO_AES_MUTEX) && defined(NO_HASH_MUTEX) && defined(NO_PK_MUTEX))
453-
#error WOLFSSL_ALGO_HW_MUTEX does not support having all mutexs off
453+
#error WOLFSSL_ALGO_HW_MUTEX does not support having all mutexes off
454454
#endif
455455
/* To support HW that can do different Crypto in parallel */
456456
#if WOLFSSL_CRYPT_HW_MUTEX && defined(WOLFSSL_ALGO_HW_MUTEX)

wolfssl/wolfio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ WOLFSSL_API int wolfIO_RecvFrom(SOCKET_T sd, WOLFSSL_BIO_ADDR *addr, char *buf,
520520
#endif
521521
#endif /* WOLFSSL_NO_SOCK */
522522

523-
/* Preseve API previously exposed */
523+
/* Preserve API previously exposed */
524524
WOLFSSL_API int BioSend(WOLFSSL* ssl, char *buf, int sz, void *ctx);
525525
WOLFSSL_API int BioReceive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
526526

0 commit comments

Comments
 (0)