Hi,
I'm writing a WICED application.
It seem that any call to wiced_tls_deinit_identity() will cause a crash when trying to free the RSA key in wiced_tls.c:
if ( tls_identity->private_key.common.type == TLS_RSA_KEY )
{
rsa_free( (rsa_context*)&tls_identity->private_key.rsa );
}
I noticed that in your MQTT implementation you never call wiced_tls_deinit_identity(), is there any known issue with it?
Cheers,
Matteo
Hi,
Can someone help to explain about the usage of wiced_tls_deinit_identity().
It looks like a memory leak if not calling wiced_tls_deinit_identity().
But if wiced_tls_deinit_identity() is called, system crash as matteo point out.
Presently no, we will look at the issue and provide a solution if issue exists.