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

Rename ssl_conf_datagram_packing() to ssl_set_datagram_packing()

The naming convention is that functions of the form mbedtls_ssl_conf_xxx()
apply to the SSL configuration.
This commit is contained in:
Hanno Becker
2018-08-24 11:13:57 +01:00
parent f4b010efc4
commit 1841b0a11c
5 changed files with 7 additions and 7 deletions

View File

@ -2182,7 +2182,7 @@ int main( int argc, char *argv[] )
mbedtls_ssl_conf_handshake_timeout( &conf, opt.hs_to_min, opt.hs_to_max );
if( opt.dgram_packing != DFL_DGRAM_PACKING )
mbedtls_ssl_conf_datagram_packing( &ssl, opt.dgram_packing );
mbedtls_ssl_set_datagram_packing( &ssl, opt.dgram_packing );
#endif /* MBEDTLS_SSL_PROTO_DTLS */
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)