Skip to content

Commit 64e8ec3

Browse files
author
DrKLO
committed
compile fix
1 parent e313885 commit 64e8ec3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TMessagesProj/jni/tgnet/Datacenter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ class Datacenter {
5555
Connection *getGenericConnection(bool create);
5656
Connection *getPushConnection(bool create);
5757
Connection *getConnectionByType(uint32_t connectionType, bool create);
58+
59+
static void aesIgeEncryption(uint8_t *buffer, uint8_t *key, uint8_t *iv, bool encrypt, bool changeIv, uint32_t length);
5860

5961
private:
6062
void onHandshakeConnectionClosed(Connection *connection);
6163
void onHandshakeConnectionConnected(Connection *connection);
6264
void processHandshakeResponse(TLObject *message, int64_t messageId);
63-
void aesIgeEncryption(uint8_t *buffer, uint8_t *key, uint8_t *iv, bool encrypt, bool changeIv, uint32_t length);
6465
NativeByteBuffer *createRequestsData(std::vector<std::unique_ptr<NetworkMessage>> &requests, int32_t *quickAckId, Connection *connection);
6566
bool decryptServerResponse(int64_t keyId, uint8_t *key, uint8_t *data, uint32_t length);
6667
TLObject *getCurrentHandshakeRequest();

0 commit comments

Comments
 (0)