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:
@ -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
|
||||
|
Reference in New Issue
Block a user