Documentation and cosmetic fixes

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek
2023-07-14 09:56:02 -04:00
parent 5ffea9dc77
commit ba16859cc6
3 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ static int calloc_self_test(int verbose)
void *buffer1 = mbedtls_calloc(1, 1);
void *buffer2 = mbedtls_calloc(1, 1);
unsigned int buf_size = 256;
unsigned char *buffer3 = mbedtls_calloc(buf_size, sizeof(unsigned char));
unsigned char *buffer3 = mbedtls_calloc(buf_size, 1);
if (empty1 == NULL && empty2 == NULL) {
if (verbose) {