mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
android: Announce support for TFC padding
Has been supported by libipsec for a long time (since 5.1.1). UDP encap is already enforced via config, this just makes the flags the same as in kernel-libipsec.
This commit is contained in:
parent
e21290ec30
commit
1138b629fb
@ -49,7 +49,8 @@ static void expire(uint8_t protocol, uint32_t spi, host_t *dst, bool hard)
|
||||
METHOD(kernel_ipsec_t, get_features, kernel_feature_t,
|
||||
private_kernel_android_ipsec_t *this)
|
||||
{
|
||||
return KERNEL_SA_USE_TIME;
|
||||
return KERNEL_REQUIRE_UDP_ENCAPSULATION | KERNEL_ESP_V3_TFC |
|
||||
KERNEL_SA_USE_TIME;
|
||||
}
|
||||
|
||||
METHOD(kernel_ipsec_t, get_spi, status_t,
|
||||
|
Loading…
x
Reference in New Issue
Block a user