mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03: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:
@ -475,7 +475,7 @@ ssl_exit:
|
||||
|
||||
exit:
|
||||
|
||||
mbedtls_net_close( &server_fd );
|
||||
mbedtls_net_free( &server_fd );
|
||||
mbedtls_x509_crt_free( &cacert );
|
||||
mbedtls_x509_crt_free( &clicert );
|
||||
#if defined(MBEDTLS_X509_CRL_PARSE_C)
|
||||
|
Reference in New Issue
Block a user