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
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user