mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 18:43:38 -04:00
Remove superfluous sizeof(unsigned char)
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
7cdfda12da
commit
89d67bd472
@ -1008,7 +1008,7 @@ int mbedtls_oid_from_numeric_string(mbedtls_asn1_buf *oid,
|
||||
encoded_len += num_bytes;
|
||||
}
|
||||
|
||||
oid->p = mbedtls_calloc(encoded_len, sizeof(unsigned char));
|
||||
oid->p = mbedtls_calloc(encoded_len, 1);
|
||||
if (oid->p == NULL) {
|
||||
return MBEDTLS_ERR_ASN1_ALLOC_FAILED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user