Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sudobob opened this issue Jul 11, 2021 · 0 comments

Comments

@sudobob
Copy link

sudobob commented Jul 11, 2021

  • 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)) {
      |                           ^~~~~~
@sudobob sudobob changed the title RestClient.cpp: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' (when compiling with esp8266 3.0.1 RestClient.cpp: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' (when compiling with esp8266 3.0.1) Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant