mirror of https://github.com/arendst/Tasmota.git
Fix compilation error
This commit is contained in:
parent
bc7efce43d
commit
aa123eff8c
|
@ -83,7 +83,7 @@ bool TelegramInit(void) {
|
|||
if (!telegramClient) {
|
||||
telegramClient = new BearSSL::WiFiClientSecure_light(tls_rx_size, tls_tx_size);
|
||||
|
||||
if (Settings.flag5.tls_use_fingerprint) {
|
||||
if (Settings->flag5.tls_use_fingerprint) {
|
||||
telegramClient->setPubKeyFingerprint(Telegram_Fingerprint, Telegram_Fingerprint, false); // check server fingerprint
|
||||
} else {
|
||||
telegramClient->setTrustAnchor(&GoDaddyCAG2_TA, 1);
|
||||
|
|
Loading…
Reference in New Issue