mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
compile fix
This commit is contained in:
parent
e313885ac5
commit
64e8ec3fbd
1 changed files with 2 additions and 1 deletions
|
@ -56,11 +56,12 @@ public:
|
||||||
Connection *getPushConnection(bool create);
|
Connection *getPushConnection(bool create);
|
||||||
Connection *getConnectionByType(uint32_t connectionType, bool create);
|
Connection *getConnectionByType(uint32_t connectionType, bool create);
|
||||||
|
|
||||||
|
static void aesIgeEncryption(uint8_t *buffer, uint8_t *key, uint8_t *iv, bool encrypt, bool changeIv, uint32_t length);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void onHandshakeConnectionClosed(Connection *connection);
|
void onHandshakeConnectionClosed(Connection *connection);
|
||||||
void onHandshakeConnectionConnected(Connection *connection);
|
void onHandshakeConnectionConnected(Connection *connection);
|
||||||
void processHandshakeResponse(TLObject *message, int64_t messageId);
|
void processHandshakeResponse(TLObject *message, int64_t messageId);
|
||||||
void aesIgeEncryption(uint8_t *buffer, uint8_t *key, uint8_t *iv, bool encrypt, bool changeIv, uint32_t length);
|
|
||||||
NativeByteBuffer *createRequestsData(std::vector<std::unique_ptr<NetworkMessage>> &requests, int32_t *quickAckId, Connection *connection);
|
NativeByteBuffer *createRequestsData(std::vector<std::unique_ptr<NetworkMessage>> &requests, int32_t *quickAckId, Connection *connection);
|
||||||
bool decryptServerResponse(int64_t keyId, uint8_t *key, uint8_t *data, uint32_t length);
|
bool decryptServerResponse(int64_t keyId, uint8_t *key, uint8_t *data, uint32_t length);
|
||||||
TLObject *getCurrentHandshakeRequest();
|
TLObject *getCurrentHandshakeRequest();
|
||||||
|
|
Loading…
Reference in a new issue