mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
Revert "altcp_tls_mbedtls: ensure configuration is properly freed"
This reverts commit d84a84e5ca
.
This commit seemed to be merged in an invalid order
This commit is contained in:
parent
21cde5dc9e
commit
87618e2f2a
@ -1048,8 +1048,6 @@ altcp_tls_free_config(struct altcp_tls_config *conf)
|
||||
if (conf->ca) {
|
||||
mbedtls_x509_crt_free(conf->ca);
|
||||
}
|
||||
mbedtls_entropy_free(&conf->entropy);
|
||||
mbedtls_ctr_drbg_free(&conf->ctr_drbg);
|
||||
altcp_mbedtls_free_config(conf);
|
||||
altcp_mbedtls_unref_entropy();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user