Fix command indentation in ssl_parse_client_key_exchange()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
2d63da9269
commit
fdf20cb513
1 changed files with 5 additions and 5 deletions
|
@ -4075,11 +4075,11 @@ static int ssl_parse_client_key_exchange( mbedtls_ssl_context *ssl )
|
||||||
p += ecpoint_len;
|
p += ecpoint_len;
|
||||||
|
|
||||||
/* As RFC 5489 section 2, the premaster secret is formed as follows:
|
/* As RFC 5489 section 2, the premaster secret is formed as follows:
|
||||||
 * - a uint16 containing the length (in octets) of the ECDH computation
|
* - a uint16 containing the length (in octets) of the ECDH computation
|
||||||
 * - the octet string produced by the ECDH computation
|
* - the octet string produced by the ECDH computation
|
||||||
 * - a uint16 containing the length (in octets) of the PSK
|
* - a uint16 containing the length (in octets) of the PSK
|
||||||
 * - the PSK itself
|
* - the PSK itself
|
||||||
 */
|
*/
|
||||||
unsigned char *psm = ssl->handshake->premaster;
|
unsigned char *psm = ssl->handshake->premaster;
|
||||||
const unsigned char* const psm_end =
|
const unsigned char* const psm_end =
|
||||||
psm + sizeof( ssl->handshake->premaster );
|
psm + sizeof( ssl->handshake->premaster );
|
||||||
|
|
Loading…
Reference in a new issue