Removed auth_cfg_t.replace_value() and replaced usages with add().
authorTobias Brunner <tobias@strongswan.org>
Tue, 17 Apr 2012 15:44:10 +0000 (17:44 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 18 Apr 2012 16:50:14 +0000 (18:50 +0200)
commit7e84c4275c03b1aaf3c4a2077b08f67173fad382
tree0972d8a15b4252cad0891dee635cbdae09e8d9bc
parentebc1ffe45100d31ca0094fb407747a0ad995bf8e
Removed auth_cfg_t.replace_value() and replaced usages with add().

replace_value() was used to replace identities. Since for these the latest is
now returned by get(), adding the new identity with add() is sufficient.
src/libcharon/plugins/stroke/stroke_config.c
src/libcharon/sa/authenticators/eap_authenticator.c
src/libcharon/sa/tasks/ike_auth.c
src/libstrongswan/credentials/auth_cfg.c
src/libstrongswan/credentials/auth_cfg.h