Description
Hi @Duckle29,
great work! As you might have read here I forked and extended your modified library with a function to load the certificate bundle from SPIFFS.
While doing so I discovered that if people would use this library without the bundle or platform.ini scripts compile errors will occur:
.pio\build\esp32dev\lib499\libWiFiClientSecure.a(esp_crt_bundle.c.o):(.literal.esp_crt_bundle_attach+0x8): undefined reference to `_binary_x509_crt_bundle_start'
Simply commenting out this line solves the compile error (as it is not even used when loading from SPIFFS or not using the bundle at all)
Onno-Dirkzwager@b365a4a
Ideally, we would not modify the esp_crt_bundle.c file at all..... I think I'm missing something and hope that we can work this out together. As these modifications will be very useful for a lot of people.
Any ideas?