1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +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:
Manuel Pégourié-Gonnard
2015-06-30 15:55:03 +02:00
parent 5db64328ab
commit 3d7d00ad23
18 changed files with 36 additions and 36 deletions

View File

@ -819,7 +819,7 @@ int main( int argc, char *argv[] )
exit:
mbedtls_net_close( &server_fd );
mbedtls_net_free( &server_fd );
mbedtls_x509_crt_free( &clicert );
mbedtls_x509_crt_free( &cacert );
mbedtls_pk_free( &pkey );