Skip to content

Commit 9a91acc

Browse files
committed
WiFiSSLClient: use new certificates storage API
1 parent 8e8e7dc commit 9a91acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiSSLClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class WiFiSSLClient : public arduino::WiFiClient {
4747

4848
private:
4949
int setRootCA() {
50-
return ((TLSSocket*)sock)->set_root_ca_cert("/wlan/", 0);
50+
return ((TLSSocket*)sock)->set_root_ca_cert_path("/wlan/");
5151
}
5252
};
5353

0 commit comments

Comments
 (0)