Skip to content

Commit 2a7a2ab

Browse files
Don't check HQ_USE_TLS
This define was used in a previous attempt at implementing TLS support, but it was removed in the final version (but left around in this particular spot).
1 parent b998bf3 commit 2a7a2ab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

utility/WiFiBackpack.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ bool WiFiBackpack::setup() {
3030
if (!gs.begin(7))
3131
return false;
3232

33-
#ifdef HQ_USE_TLS
34-
if (HqHandler::cacert_len)
35-
gs.addCert(CA_CERTNAME_HQ, /* to_flash */ false, HqHandler::cacert, HqHandler::cacert_len);
36-
#endif
33+
if (HqHandler::cacert_len)
34+
gs.addCert(CA_CERTNAME_HQ, /* to_flash */ false, HqHandler::cacert, HqHandler::cacert_len);
3735
}
3836

3937
void WiFiBackpack::loop() {

0 commit comments

Comments
 (0)