1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-09 03:00:41 +03:00

Fixed the bug which occurs the L2TP/IPsec connection error with Android Oreo.

This commit is contained in:
Daiyuu Nobori 2017-12-21 23:21:31 +09:00
parent bed99f9a56
commit 4a01c41d09

View File

@ -3055,7 +3055,7 @@ void IkeHMac(IKE_HASH *h, void *dst, void *key, UINT key_size, void *data, UINT
// Generation of data 2
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;
}