ha: Add auth method for HA IKEv1 key derivation

Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
Thomas Egerer
2018-12-07 10:17:56 +01:00
committed by Tobias Brunner
parent 13f92f649e
commit eed20c21d3
9 changed files with 24 additions and 8 deletions
+2 -1
View File
@@ -251,7 +251,8 @@ METHOD(phase1_t, derive_keys, bool,
return FALSE;
}
charon->bus->ike_keys(charon->bus, this->ike_sa, this->dh, this->dh_value,
this->nonce_i, this->nonce_r, NULL, shared_key);
this->nonce_i, this->nonce_r, NULL, shared_key,
method);
DESTROY_IF(shared_key);
return TRUE;
}
+1 -1
View File
@@ -773,7 +773,7 @@ static bool derive_keys(private_ike_init_t *this,
return FALSE;
}
charon->bus->ike_keys(charon->bus, this->ike_sa, this->dh, chunk_empty,
nonce_i, nonce_r, this->old_sa, NULL);
nonce_i, nonce_r, this->old_sa, NULL, AUTH_NONE);
return TRUE;
}