Fix a few warnings in reduced configs
This commit is contained in:
parent
fe98aceb70
commit
34c1011b3d
2 changed files with 21 additions and 14 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue