keymat: Allow keymat to modify signature scheme(s)

Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
Thomas Egerer
2017-02-08 10:32:17 +01:00
committed by Tobias Brunner
parent 094a4d15cf
commit 267c1f7083
9 changed files with 52 additions and 20 deletions
+2 -1
View File
@@ -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;
+1 -1
View File
@@ -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);