Remove unnecessary zeroization
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
dc22090671
commit
e488c454ea
1 changed files with 0 additions and 2 deletions
|
@ -203,8 +203,6 @@ int mbedtls_x509write_crt_set_subject_alternative_name(mbedtls_x509write_cert *c
|
||||||
if (buf == NULL) {
|
if (buf == NULL) {
|
||||||
return MBEDTLS_ERR_ASN1_ALLOC_FAILED;
|
return MBEDTLS_ERR_ASN1_ALLOC_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_platform_zeroize(buf, buflen);
|
|
||||||
p = buf + buflen;
|
p = buf + buflen;
|
||||||
|
|
||||||
/* Write ASN.1-based structure */
|
/* Write ASN.1-based structure */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue