DaKaZ / esp8266-restclient

Arduino RESTful HTTP Request Library
MIT License
124 stars 25 forks source link

RestClient.cpp: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' (when compiling with esp8266 3.0.1) #13

Open sudobob opened 3 years ago

sudobob commented 3 years ago
C:\tmp\esp8266-restclient\examples\simple_POST\RestClient.cpp: In member function 'int RestClient::request(const char*, const char*, const char*, String*)':

C:\tmp\esp8266-restclient\examples\simple_POST\RestClient.cpp:167:27: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify'

  167 |             if (sslClient.verify(fingerprint, host)) {
      |                           ^~~~~~