mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
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
|
|
@ -1503,7 +1503,7 @@ reconnect:
|
|||
{
|
||||
--opt.reconnect;
|
||||
|
||||
mbedtls_net_close( &server_fd );
|
||||
mbedtls_net_free( &server_fd );
|
||||
|
||||
#if defined(MBEDTLS_TIMING_C)
|
||||
if( opt.reco_delay > 0 )
|
||||
|
|
@ -1572,7 +1572,7 @@ exit:
|
|||
}
|
||||
#endif
|
||||
|
||||
mbedtls_net_close( &server_fd );
|
||||
mbedtls_net_free( &server_fd );
|
||||
|
||||
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||
mbedtls_x509_crt_free( &clicert );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue