Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9c4d10c
)
ipsec: fix esp padding
37/28537/1
author
Milan Lenco
<milan.lenco@pantheon.tech>
Thu, 20 Aug 2020 11:23:09 +0000
(13:23 +0200)
committer
Damjan Marion
<dmarion@me.com>
Thu, 20 Aug 2020 13:59:44 +0000
(13:59 +0000)
Type: fix
Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
Change-Id: Ic8db52b41d7e5af3425099f008984e50afb3da74
src/vnet/ipsec/esp_encrypt.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/esp_encrypt.c
b/src/vnet/ipsec/esp_encrypt.c
index
6170603
..
6c87abe
100644
(file)
--- a/
src/vnet/ipsec/esp_encrypt.c
+++ b/
src/vnet/ipsec/esp_encrypt.c
@@
-97,7
+97,7
@@
esp_add_footer_and_icv (vlib_buffer_t * b, u8 block_size, u8 icv_sz,
{
static const u8 pad_data[ESP_MAX_BLOCK_SIZE] = {
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
- 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0
0
, 0x00,
+ 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0
f
, 0x00,
};
u16 min_length = b->current_length + sizeof (esp_footer_t);