mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-01 03:22:15 +08:00
Merge pull request #10214 from ariwo17/fix-typo
Fixed some minor typos in comments.
This commit is contained in:
commit
8e95ba94c6
@ -4189,7 +4189,7 @@ static int ssl_load_buffered_message(mbedtls_ssl_context *ssl)
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
goto exit;
|
goto exit;
|
||||||
} else {
|
} else {
|
||||||
MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially bufffered",
|
MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially buffered",
|
||||||
hs->in_msg_seq));
|
hs->in_msg_seq));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5957,7 +5957,7 @@ int mbedtls_ssl_write_early_data(mbedtls_ssl_context *ssl,
|
|||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If we are past the point where we can send early data or we have
|
* If we are past the point where we can send early data or we have
|
||||||
* already reached the maximum early data size, return immediatly.
|
* already reached the maximum early data size, return immediately.
|
||||||
* Otherwise, progress the handshake as much as possible to not delay
|
* Otherwise, progress the handshake as much as possible to not delay
|
||||||
* it too much. If we reach a point where we can still send early data,
|
* it too much. If we reach a point where we can still send early data,
|
||||||
* then we will send some.
|
* then we will send some.
|
||||||
|
@ -1769,7 +1769,7 @@ static int ssl_get_ecdh_params_from_cert(mbedtls_ssl_context *ssl)
|
|||||||
|
|
||||||
tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id);
|
tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id);
|
||||||
if (tls_id == 0) {
|
if (tls_id == 0) {
|
||||||
MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not suported",
|
MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not supported",
|
||||||
grp_id));
|
grp_id));
|
||||||
return MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER;
|
return MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER;
|
||||||
}
|
}
|
||||||
|
@ -11693,7 +11693,7 @@ run_test "DTLS reordering: Buffer out-of-order handshake message fragment on
|
|||||||
0 \
|
0 \
|
||||||
-c "Buffering HS message" \
|
-c "Buffering HS message" \
|
||||||
-c "found fragmented DTLS handshake message"\
|
-c "found fragmented DTLS handshake message"\
|
||||||
-c "Next handshake message 1 not or only partially bufffered" \
|
-c "Next handshake message 1 not or only partially buffered" \
|
||||||
-c "Next handshake message has been buffered - load"\
|
-c "Next handshake message has been buffered - load"\
|
||||||
-S "Buffering HS message" \
|
-S "Buffering HS message" \
|
||||||
-S "Next handshake message has been buffered - load"\
|
-S "Next handshake message has been buffered - load"\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user