Prevent possible alignment warnings on casting from char * to 'aligned *'
This commit is contained in:
parent
677377f472
commit
45a2c8d99a
3 changed files with 17 additions and 33 deletions
|
@ -74,8 +74,6 @@ static int ssl_save_session( const ssl_session *session,
|
|||
left -= sizeof( ssl_session );
|
||||
|
||||
#if defined(POLARSSL_X509_CRT_PARSE_C)
|
||||
((ssl_session *) buf)->peer_cert = NULL;
|
||||
|
||||
if( session->peer_cert == NULL )
|
||||
cert_len = 0;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue