mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 12:35:20 +00:00
Change brace initialization to memset
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
01dd548025
commit
2bb9c8a884
@ -824,10 +824,12 @@ void mbedtls_x509_get_name( char * rdn_sequence, int exp_ret )
|
||||
unsigned char *name;
|
||||
unsigned char *p;
|
||||
size_t name_len;
|
||||
mbedtls_x509_name head = { 0 };
|
||||
mbedtls_x509_name head;
|
||||
mbedtls_x509_name *allocated, *prev;
|
||||
int ret;
|
||||
|
||||
memset( &head, 0, sizeof( head ) );
|
||||
|
||||
name = mbedtls_test_unhexify_alloc( rdn_sequence, &name_len );
|
||||
p = name;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user