diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-06-08 16:06:53 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-06-08 16:12:39 +0200 |
commit | 3c1290510366dc8c0dea4202f24dc1e01198aefe (patch) | |
tree | 7382cefcc2b93c2dc39460d8d6ccdb6912f90e8d /src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c | |
parent | 50053250201b2d81383643b91164d95d6ca5c329 (diff) | |
download | strongswan-3c1290510366dc8c0dea4202f24dc1e01198aefe.tar.bz2 strongswan-3c1290510366dc8c0dea4202f24dc1e01198aefe.tar.xz |
ipsec: Add function to compare two ipsec_sa_cfg_t instances
memeq() is currently used to compare these but if there is padding that
is not initialized the same for two instances the comparison fails.
Using this function ensures the objects are compared correctly.
Diffstat (limited to 'src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c')
0 files changed, 0 insertions, 0 deletions