1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Prevent possible alignment warnings on casting from char * to 'aligned *'

This commit is contained in:
Paul Bakker
2013-10-28 12:57:08 +01:00
parent 677377f472
commit 45a2c8d99a
3 changed files with 17 additions and 33 deletions

View File

@ -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