aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/unity
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-02-18 17:23:04 +0100
committerTobias Brunner <tobias@strongswan.org>2013-02-28 18:11:38 +0100
commit8656f35ae1dfb64d748e752ee34a9fc5804d464b (patch)
tree2a8e7128a1ad05ea7d66d072b5d2c1141da6427b /src/libcharon/plugins/unity
parent6e935c6fe08bb0bd2c7640248d4d33a9e615096d (diff)
downloadstrongswan-8656f35ae1dfb64d748e752ee34a9fc5804d464b.tar.bz2
strongswan-8656f35ae1dfb64d748e752ee34a9fc5804d464b.tar.xz
Fix auth_cfg_t.clone() for single-valued auth rules
By using the default list enumerator and adding the rules with the public add() method, clones of auth_cfg_t objects would return the values for single-valued auth rules in the wrong order (i.e. the oldest instead of the newest value was returned). Using the internal enumerator (which the comment already suggested) fixes this, but the clone will not be a full clone as it does not contain any old values for single-valued auth rules. Since these will never be used anyway, this should be fine.
Diffstat (limited to 'src/libcharon/plugins/unity')
0 files changed, 0 insertions, 0 deletions