ha: Add auth method for HA IKEv1 key derivation
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
13f92f649e
commit
eed20c21d3
@@ -575,7 +575,7 @@ METHOD(bus_t, message, void,
|
||||
METHOD(bus_t, ike_keys, void,
|
||||
private_bus_t *this, ike_sa_t *ike_sa, diffie_hellman_t *dh,
|
||||
chunk_t dh_other, chunk_t nonce_i, chunk_t nonce_r,
|
||||
ike_sa_t *rekey, shared_key_t *shared)
|
||||
ike_sa_t *rekey, shared_key_t *shared, auth_method_t method)
|
||||
{
|
||||
enumerator_t *enumerator;
|
||||
entry_t *entry;
|
||||
@@ -591,7 +591,8 @@ METHOD(bus_t, ike_keys, void,
|
||||
}
|
||||
entry->calling++;
|
||||
keep = entry->listener->ike_keys(entry->listener, ike_sa, dh, dh_other,
|
||||
nonce_i, nonce_r, rekey, shared);
|
||||
nonce_i, nonce_r, rekey, shared,
|
||||
method);
|
||||
entry->calling--;
|
||||
if (!keep)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user