Skip to content

Commit e9820c1

Browse files
authored
Adding comment to ignore SSL in sample code. (#7994)
1 parent 6da2bfb commit e9820c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: libraries/ESP8266HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ void loop() {
4444
std::unique_ptr<BearSSL::WiFiClientSecure>client(new BearSSL::WiFiClientSecure);
4545

4646
client->setFingerprint(fingerprint);
47+
// Or, if you happy to ignore the SSL certificate, then use the following line instead:
48+
// client->setInsecure();
4749

4850
HTTPClient https;
4951

0 commit comments

Comments
 (0)