Remove deprecated openssl/ssl.h
I'm getting a warning about deprecated openssl component, so I guess it would be nice to use what Espressif recommends now, which is esp_tls.h.
I tried switching the headers and they provide different API so it doesn't compile right off the bat.
I wouldn't mind making a PR but I don't have much experience with crypto/TLS so I would need some guidance on the semantic differences between the two APIs.
#warning "OpenSSL component will be removed from ESP-IDF in v5.0, please use esp_tls instead"
ESP-IDF v5.0 was released on Dec 2 2022 and this library has still not been updated from OpenSSL. The issue @petoknm points out still exists and I agree that we should be using what Espressif recommends. There is almost no alternative to this library for a secure HTTP server. Any update please @fhessel? Any support or timeframes would be really appreciated, thanks.
I am also having this issue, has anyone found a work around?
@al-TideLight Try out using this MR: https://github.com/fhessel/esp32_https_server/pull/169