diff --git a/src/net/toxdns.cpp b/src/net/toxdns.cpp index 339cf0a97..53dfb7450 100644 --- a/src/net/toxdns.cpp +++ b/src/net/toxdns.cpp @@ -34,7 +34,9 @@ const ToxDNS::tox3_server ToxDNS::pinnedServers[] {"toxme.se", (uint8_t[32]){0x5D, 0x72, 0xC5, 0x17, 0xDF, 0x6A, 0xEC, 0x54, 0xF1, 0xE9, 0x77, 0xA6, 0xB6, 0xF2, 0x59, 0x14, 0xEA, 0x4C, 0xF7, 0x27, 0x7A, 0x85, 0x02, 0x7C, 0xD9, 0xF5, 0x19, 0x6D, 0xF1, 0x7E, 0x0B, 0x13}}, {"utox.org", (uint8_t[32]){0xD3, 0x15, 0x4F, 0x65, 0xD2, 0x8A, 0x5B, 0x41, 0xA0, 0x5D, 0x4A, 0xC7, 0xE4, 0xB3, 0x9C, 0x6B, - 0x1C, 0x23, 0x3C, 0xC8, 0x57, 0xFB, 0x36, 0x5C, 0x56, 0xE8, 0x39, 0x27, 0x37, 0x46, 0x2A, 0x12}} + 0x1C, 0x23, 0x3C, 0xC8, 0x57, 0xFB, 0x36, 0x5C, 0x56, 0xE8, 0x39, 0x27, 0x37, 0x46, 0x2A, 0x12}}, + {"sr.ht", (uint8_t[32]){0x05, 0x08, 0x88, 0xFE, 0x0C, 0x88, 0x29, 0xAA, 0x43, 0xE0, 0xC9, 0xFD, 0x49, 0x6D, 0x6C, 0x4A, + 0xFE, 0xEF, 0xEB, 0x6D, 0x55, 0x71, 0xF4, 0x2F, 0x30, 0xEB, 0x5F, 0x3B, 0x4C, 0xD9, 0x4F, 0xE5}} }; void ToxDNS::showWarning(const QString &message) diff --git a/src/net/toxdns.h b/src/net/toxdns.h index f22c08fa9..143657b57 100644 --- a/src/net/toxdns.h +++ b/src/net/toxdns.h @@ -65,7 +65,7 @@ private: static QByteArray fetchLastTextRecord(const QString& record, bool silent=true); public: - static const tox3_server pinnedServers[2]; + static const tox3_server pinnedServers[3]; }; #endif // QTOXDNS_H