mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Fixed the bug which occurs the L2TP/IPsec connection error with Android Oreo.
This commit is contained in:
parent
bed99f9a56
commit
4a01c41d09
@ -3055,7 +3055,7 @@ void IkeHMac(IKE_HASH *h, void *dst, void *key, UINT key_size, void *data, UINT
|
|||||||
// Generation of data 2
|
// Generation of data 2
|
||||||
data2_size = h->HashSize + hmac_block_size;
|
data2_size = h->HashSize + hmac_block_size;
|
||||||
|
|
||||||
for (i = 0;i < HMAC_BLOCK_SIZE;i++)
|
for (i = 0;i < hmac_block_size;i++)
|
||||||
{
|
{
|
||||||
data2[i] = k[i] ^ 0x5c;
|
data2[i] = k[i] ^ 0x5c;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user