Skip to content

Commit 9209009

Browse files
committed
WiFi: download() helper: fix certificate storage API
1 parent bc8b0ae commit 9209009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/utility/https_request.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class HttpsRequest : public HttpRequestBase {
6464
if (ssl_ca_pem)
6565
((TLSSocket*)_socket)->set_root_ca_cert(ssl_ca_pem);
6666
else
67-
((TLSSocket*)_socket)->set_root_ca_cert("/wlan/", 0);
67+
((TLSSocket*)_socket)->set_root_ca_cert_path("/wlan/");
6868
_we_created_socket = true;
6969
}
7070

0 commit comments

Comments
 (0)