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

WiFiClientSecure' has no member named 'verify' #10

Open
phantom101 opened this issue Aug 18, 2023 · 3 comments
Open

WiFiClientSecure' has no member named 'verify' #10

phantom101 opened this issue Aug 18, 2023 · 3 comments

Comments

@phantom101
Copy link

Sadly the lib is broken :-(

.pio\libdeps\nodemcuv2\HARestAPI\src\HARestAPI.cpp: In member function 'String HARestAPI::sendGetHA(String)':
.pio\libdeps\nodemcuv2\HARestAPI\src\HARestAPI.cpp:102:21: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify'
102 | if (wsclient->verify(_fingerprint.c_str(), _serverip.c_str()))
| ^~~~~~
.pio\libdeps\nodemcuv2\HARestAPI\src\HARestAPI.cpp: In member function 'bool HARestAPI::sendPostHA(String, String)':
.pio\libdeps\nodemcuv2\HARestAPI\src\HARestAPI.cpp:201:21: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify'
201 | if (wsclient->verify(_fingerprint.c_str(), _serverip.c_str()))
| ^~~~~~
Compiling .pio\build\nodemcuv2\libc1a\ESP8266mDNS\LEAmDNS_Structs.cpp.o
*** [.pio\build\nodemcuv2\lib17d\HARestAPI\HARestAPI.cpp.o] Error 1

@PappDieter
Copy link

fixing would be nice :)

@debsahu
Copy link
Owner

debsahu commented Sep 7, 2023

Can you check if latest 0.3.2 fixes this?

@xyyx
Copy link

xyyx commented Oct 10, 2024

wsclient->setFingerprint(_fingerprint.c_str()) missed ; in two places

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

4 participants