From 325885eaa928eca5291a44f50e12896730da3354 Mon Sep 17 00:00:00 2001 From: Debashish Sahu Date: Tue, 28 Sep 2021 14:15:47 -0400 Subject: [PATCH] CA needs to be set by user outside lib --- src/HARestAPI.cpp | 5 ----- src/HARestAPI.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/HARestAPI.cpp b/src/HARestAPI.cpp index 398a72c..91c5621 100644 --- a/src/HARestAPI.cpp +++ b/src/HARestAPI.cpp @@ -71,11 +71,6 @@ void HARestAPI::setTimeOut(uint16_t TimeOut) _time_out = TimeOut; } -void HARestAPI::setCACert(const char *CACert) -{ - wsclient->setCACert(CACert); -} - void HARestAPI::setComponent(String Component) { _component = Component; diff --git a/src/HARestAPI.h b/src/HARestAPI.h index 62a55f2..bad7677 100644 --- a/src/HARestAPI.h +++ b/src/HARestAPI.h @@ -27,7 +27,6 @@ class HARestAPI void setRGB(uint8_t, uint8_t, uint8_t); void setDebugMode(bool); void setTimeOut(uint16_t); - void setCACert(const char *); void setComponent(String); void setURL(String); bool sendCustomHAData(String, String);