diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-04-17 17:44:10 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-04-18 18:50:14 +0200 |
commit | 7e84c4275c03b1aaf3c4a2077b08f67173fad382 (patch) | |
tree | 0972d8a15b4252cad0891dee635cbdae09e8d9bc /src/libstrongswan/credentials/auth_cfg.h | |
parent | ebc1ffe45100d31ca0094fb407747a0ad995bf8e (diff) | |
download | strongswan-7e84c4275c03b1aaf3c4a2077b08f67173fad382.tar.bz2 strongswan-7e84c4275c03b1aaf3c4a2077b08f67173fad382.tar.xz |
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.
Diffstat (limited to 'src/libstrongswan/credentials/auth_cfg.h')
-rw-r--r-- | src/libstrongswan/credentials/auth_cfg.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libstrongswan/credentials/auth_cfg.h b/src/libstrongswan/credentials/auth_cfg.h index 7a484c5cc..4d12a9c14 100644 --- a/src/libstrongswan/credentials/auth_cfg.h +++ b/src/libstrongswan/credentials/auth_cfg.h @@ -197,15 +197,6 @@ struct auth_cfg_t { auth_rule_t rule, ...); /** - * Replace the value of the first rule with the given type. - * - * @param rule rule type - * @param ... associated value to rule - * @return TRUE if the rule was found and the value replaced - */ - bool (*replace_value)(auth_cfg_t *this, auth_rule_t rule, ...); - - /** * Check if a used config fulfills a set of configured constraints. * * @param constraints required authorization rules |