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 );
}