1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-23 15:01:00 +03:00

Fix a few warnings in reduced configs

This commit is contained in:
Manuel Pégourié-Gonnard
2014-03-25 13:36:22 +01:00
committed by Paul Bakker
parent fe98aceb70
commit 34c1011b3d
2 changed files with 21 additions and 14 deletions

View File

@ -1831,6 +1831,8 @@ static inline size_t ssl_hdr_len( const ssl_context *ssl )
#if defined(POLARSSL_SSL_PROTO_DTLS)
if( ssl->transport == SSL_TRANSPORT_DATAGRAM )
return( 13 );
#else
((void) ssl);
#endif
return( 5 );
}