Check this link for ESP32
if you develop via PlatformIO you cna find the file C:\Users\<user>\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src\WiFiClientSecureBearSSL.h
If you are using VSCode - it can navigate to sources nicely.
- Move
*_eng
declaration to public section forWiFiClientSecureCtx
class