fix likely typos error
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
b65eb2f3cf
commit
92c1ca221f
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@
|
|||
#include "mbedtls/oid.h"
|
||||
#endif
|
||||
|
||||
#define MBEDTLS_SSL_IN_CTR_LEN 8
|
||||
#define SSL_CONTEXT_INPUT_COUNTER_LEN 8
|
||||
|
||||
static uint32_t ssl_get_hs_total_len( mbedtls_ssl_context const *ssl );
|
||||
|
||||
|
@ -4793,7 +4793,7 @@ int mbedtls_ssl_parse_change_cipher_spec( mbedtls_ssl_context *ssl )
|
|||
}
|
||||
else
|
||||
#endif /* MBEDTLS_SSL_PROTO_DTLS */
|
||||
mbedtls_platform_zeroize( ssl->in_ctr, MBEDTLS_SSL_IN_CTR_LEN );
|
||||
mbedtls_platform_zeroize( ssl->in_ctr, SSL_CONTEXT_INPUT_COUNTER_LEN );
|
||||
|
||||
mbedtls_ssl_update_in_pointers( ssl );
|
||||
|
||||
|
@ -5560,7 +5560,7 @@ void mbedtls_ssl_set_inbound_transform( mbedtls_ssl_context *ssl,
|
|||
return;
|
||||
|
||||
ssl->transform_in = transform;
|
||||
mbedtls_platform_zeroize( ssl->in_ctr, MBEDTLS_SSL_IN_CTR_LEN );
|
||||
mbedtls_platform_zeroize( ssl->in_ctr, SSL_CONTEXT_INPUT_COUNTER_LEN );
|
||||
}
|
||||
|
||||
void mbedtls_ssl_set_outbound_transform( mbedtls_ssl_context *ssl,
|
||||
|
|
Loading…
Reference in a new issue