Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
apk
Commits
64e8ec3f
Commit
64e8ec3f
authored
Oct 11, 2016
by
DrKLO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compile fix
parent
e313885a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Datacenter.h
TMessagesProj/jni/tgnet/Datacenter.h
+2
-1
No files found.
TMessagesProj/jni/tgnet/Datacenter.h
View file @
64e8ec3f
...
...
@@ -55,12 +55,13 @@ public:
Connection
*
getGenericConnection
(
bool
create
);
Connection
*
getPushConnection
(
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:
void
onHandshakeConnectionClosed
(
Connection
*
connection
);
void
onHandshakeConnectionConnected
(
Connection
*
connection
);
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
);
bool
decryptServerResponse
(
int64_t
keyId
,
uint8_t
*
key
,
uint8_t
*
data
,
uint32_t
length
);
TLObject
*
getCurrentHandshakeRequest
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment