Skip to content

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

@sudobob

Description

@sudobob
  • Installed latest Arduino IDE 1.8.15 on Windows 10
  • Installed latest esp8266 3.0.1 via https://arduino.esp8266.com/stable/package_esp8266com_index.json
  • Selected "LOLIN(WEMOS) D1 R2 & mini" board type
  • Copied RestClient[.cpp,.h] into examples/simple_POST
  • Opened simple_Post.ino and attempted to compile. Generates the following error:
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)) {
      |                           ^~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions