Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ike
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
la
platform
frameworks
opt
net
ike
Commits
0bd918e0
Commit
0bd918e0
authored
4 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix bug in outbound fragment integrity checksum"
parents
ed73a27e
86a62495
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java
+6
-8
6 additions, 8 deletions
...om/android/internal/net/ipsec/ike/message/IkeMessage.java
with
6 additions
and
8 deletions
src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java
+
6
−
8
View file @
0bd918e0
...
...
@@ -503,10 +503,12 @@ public final class IkeMessage {
int
fragNum
=
i
+
1
;
// 1-based
int
fragFirstInnerPayload
=
i
==
0
?
firstInnerPayload
:
IkePayload
.
PAYLOAD_TYPE_NO_NEXT
;
IkeSkfPayload
skfPayload
=
new
IkeSkfPayload
(
ike
Header
,
firstInnerPayload
,
skf
Header
,
f
ragF
irstInnerPayload
,
unencryptedData
,
integrityMac
,
encryptCipher
,
...
...
@@ -515,11 +517,7 @@ public final class IkeMessage {
fragNum
,
totalFragments
);
packetList
[
i
]
=
encodeHeaderAndBody
(
skfHeader
,
skfPayload
,
i
==
0
?
firstInnerPayload
:
IkePayload
.
PAYLOAD_TYPE_NO_NEXT
);
packetList
[
i
]
=
encodeHeaderAndBody
(
skfHeader
,
skfPayload
,
fragFirstInnerPayload
);
getIkeLog
()
.
d
(
"IkeMessage"
,
...
...
@@ -528,7 +526,7 @@ public final class IkeMessage {
+
"/"
+
totalFragments
+
"): "
+
getIkeLog
().
pii
(
packetList
[
0
]));
+
getIkeLog
().
pii
(
packetList
[
i
]));
}
return
packetList
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment