mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-08 10:09:54 +00:00
This commit is contained in:
parent
a63c9e9fba
commit
0715668eea
|
@ -305,6 +305,8 @@ static int x509_get_name( unsigned char **p,
|
||||||
if( cur->next == NULL )
|
if( cur->next == NULL )
|
||||||
return( POLARSSL_ERR_X509_MALLOC_FAILED );
|
return( POLARSSL_ERR_X509_MALLOC_FAILED );
|
||||||
|
|
||||||
|
memset( cur->next, 0, sizeof( x509_name ) );
|
||||||
|
|
||||||
return( x509_get_name( p, end2, cur->next ) );
|
return( x509_get_name( p, end2, cur->next ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue