aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mtproto.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-01-22 02:15:26 +0300
committerlevlam <levlam@telegram.org>2024-01-22 02:15:26 +0300
commit0dd1934090ac2d3190628e0bb7984f350cf727d8 (patch)
tree485aaedbbdaca1e1285635d75d1add90ab82aeb8 /test/mtproto.cpp
parente52d08da7452c1b45504faf126134e07d551ce64 (diff)
Use separate implementations for main and CDN RSA keys.
Diffstat (limited to 'test/mtproto.cpp')
-rw-r--r--test/mtproto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mtproto.cpp b/test/mtproto.cpp
index e7db14580..342c9b3cc 100644
--- a/test/mtproto.cpp
+++ b/test/mtproto.cpp
@@ -6,7 +6,7 @@
//
#include "td/telegram/ConfigManager.h"
#include "td/telegram/net/DcId.h"
-#include "td/telegram/net/PublicRsaKeyShared.h"
+#include "td/telegram/net/PublicRsaKeySharedMain.h"
#include "td/telegram/net/Session.h"
#include "td/telegram/NotificationManager.h"
@@ -304,7 +304,7 @@ class HandshakeContext final : public td::mtproto::AuthKeyHandshakeContext {
}
private:
- td::PublicRsaKeyShared public_rsa_key{td::DcId::empty(), true};
+ td::PublicRsaKeySharedMain public_rsa_key{true};
};
class HandshakeTestActor final : public td::Actor {