Rename mbedtls_net_close() to mbedtls_net_free()
close() may be more meaningful, but free() is symmetric with _init(), and more consistent with all other modules
This commit is contained in:
parent
5db64328ab
commit
3d7d00ad23
18 changed files with 36 additions and 36 deletions
|
@ -280,7 +280,7 @@ int main( void )
|
|||
mbedtls_ssl_close_notify( &ssl );
|
||||
|
||||
exit:
|
||||
mbedtls_net_close( &server_fd );
|
||||
mbedtls_net_free( &server_fd );
|
||||
|
||||
mbedtls_ssl_free( &ssl );
|
||||
mbedtls_ssl_config_free( &conf );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue