diff options
author | Thomas Egerer <thomas.egerer@secunet.com> | 2016-12-01 14:40:25 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-08 10:32:17 +0100 |
commit | 267c1f7083d4629432423c1deb539f0c4c4b262d (patch) | |
tree | 6b5c3d4ab2edea43f47d0e7bb08a10d873869b45 /src/conftest | |
parent | 094a4d15cff37b786b9afec2c1cfe834dcd13147 (diff) | |
download | strongswan-267c1f7083d4629432423c1deb539f0c4c4b262d.tar.bz2 strongswan-267c1f7083d4629432423c1deb539f0c4c4b262d.tar.xz |
keymat: Allow keymat to modify signature scheme(s)
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Diffstat (limited to 'src/conftest')
-rw-r--r-- | src/conftest/hooks/pretend_auth.c | 3 | ||||
-rw-r--r-- | src/conftest/hooks/rebuild_auth.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/conftest/hooks/pretend_auth.c b/src/conftest/hooks/pretend_auth.c index 54957b048..d80196ed6 100644 --- a/src/conftest/hooks/pretend_auth.c +++ b/src/conftest/hooks/pretend_auth.c @@ -238,7 +238,8 @@ static bool build_auth(private_pretend_auth_t *this, } keymat = (keymat_v2_t*)ike_sa->get_keymat(ike_sa); if (!keymat->get_auth_octets(keymat, TRUE, this->ike_init, - this->nonce, this->id, this->reserved, &octets)) + this->nonce, this->id, this->reserved, + &octets, NULL)) { private->destroy(private); return FALSE; diff --git a/src/conftest/hooks/rebuild_auth.c b/src/conftest/hooks/rebuild_auth.c index 42a9cb4e1..b2df278a5 100644 --- a/src/conftest/hooks/rebuild_auth.c +++ b/src/conftest/hooks/rebuild_auth.c @@ -137,7 +137,7 @@ static bool rebuild_auth(private_rebuild_auth_t *this, ike_sa_t *ike_sa, } keymat = (keymat_v2_t*)ike_sa->get_keymat(ike_sa); if (!keymat->get_auth_octets(keymat, FALSE, this->ike_init, - this->nonce, id, reserved, &octets)) + this->nonce, id, reserved, &octets, NULL)) { private->destroy(private); id->destroy(id); |