keymat: Allow keymat to modify signature scheme(s)

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
This commit is contained in:
Thomas Egerer authored and Tobias Brunner committed 2017-02-08 10:32:17 +01:00
1 parent 094a4d15cf
commit 267c1f7083
9 files changed
+52 -20

No files matched your search

+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);