Fixed common misspellings.
Mostly found by 'codespell'.
This commit is contained in:
@@ -98,7 +98,7 @@ struct tls_alert_t {
|
||||
/**
|
||||
* Did a fatal alert occur?.
|
||||
*
|
||||
* @return TRUE if a fatal alert has occured
|
||||
* @return TRUE if a fatal alert has occurred
|
||||
*/
|
||||
bool (*fatal)(tls_alert_t *this);
|
||||
|
||||
|
||||
@@ -603,7 +603,7 @@ static suite_algs_t suite_algs[] = {
|
||||
};
|
||||
|
||||
/**
|
||||
* Look up algoritms by a suite
|
||||
* Look up algorithms by a suite
|
||||
*/
|
||||
static suite_algs_t *find_suite(tls_cipher_suite_t suite)
|
||||
{
|
||||
|
||||
@@ -242,7 +242,7 @@ METHOD(tls_fragmentation_t, process, status_t,
|
||||
{
|
||||
case ALERT_SENDING:
|
||||
case ALERT_SENT:
|
||||
/* don't accept more input, fatal error ocurred */
|
||||
/* don't accept more input, fatal error occurred */
|
||||
return NEED_MORE;
|
||||
case ALERT_NONE:
|
||||
break;
|
||||
|
||||
@@ -112,7 +112,7 @@ METHOD(tls_protection_t, process, status_t,
|
||||
private_tls_protection_t *this, tls_content_type_t type, chunk_t data)
|
||||
{
|
||||
if (this->alert->fatal(this->alert))
|
||||
{ /* don't accept more input, fatal error ocurred */
|
||||
{ /* don't accept more input, fatal error occurred */
|
||||
return NEED_MORE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user