aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-08 16:06:53 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-08 16:12:39 +0200
commit3c1290510366dc8c0dea4202f24dc1e01198aefe (patch)
tree7382cefcc2b93c2dc39460d8d6ccdb6912f90e8d /src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
parent50053250201b2d81383643b91164d95d6ca5c329 (diff)
downloadstrongswan-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