Compile issue with altcp_tls_mbedtls.c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile issue with altcp_tls_mbedtls.c

kbreining
Hello,

seems something went wrong with this file: In function
altcp_tls_free_config(...) there are calls to mbedtls_entropy_free and
mbedtls_ctr_drbg_free with arguments that don't exist: altcp_tls_config
has no members entropy or ctr_drbg. They are in altcp_tls_entropy_rng. I
didn't try to understand the code right now, I just commented out these
lines. But I am sure they are not there just for fun and I might create
memory holes...

Regards

Klaus


_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile issue with altcp_tls_mbedtls.c

goldsimon@gmx.de
Am 28.02.2020 um 23:59 schrieb Klaus Breining:
> Hello,
>
> seems something went wrong with this file: In function
> altcp_tls_free_config(...) there are calls to mbedtls_entropy_free and
> mbedtls_ctr_drbg_free with arguments that don't exist: altcp_tls_config
> has no members entropy or ctr_drbg. They are in altcp_tls_entropy_rng. I
> didn't try to understand the code right now, I just commented out these
> lines. But I am sure they are not there just for fun and I might create
> memory holes...

That was my bad in applying David's patches in the wrong order.

Should work now, thanks for the reminder.

Regards,
Simon

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users