
24 Oct
2024
24 Oct
'24
7:02 p.m.
Hi Simon,
[...]
memset(&conn, 0, sizeof(conn));
+#if defined CONFIG_WGET_HTTPS
if (IS_ENABLED(CONFIG_WGET_HTTPS))
Unfortunately, I don't think we can use that here. If CONFIG_WGET_HTTPS is not enabled LWIP_ALTCP will not be defined, and the altcp_allocator_t field will be missing from the struct leading to a compilation error
I forgot to update this in v2 [0]. I'll send a v3 regardless and will change this to #if IS_ENABLED(CONFIG_MBEDTLS_LIB_TLS)
which is a better fit anyway
[...]
Cheers /Ilias