ike-sa-manager: Rename checkout_new() to create_new()

We don't actually check that SA out (i.e. it's not registered with the
manager).  That was originally different but had to be changed with
86993d6b90 to avoid that SAs created for rekeying don't block other
threads on the manager.
This commit is contained in:
Tobias Brunner
2021-02-12 15:49:08 +01:00
parent 7f6386afd9
commit bde5bd47bd
8 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ METHOD(trap_manager_t, acquire, void,
if (wildcard)
{ /* the peer config would match IKE_SAs with other peers */
ike_sa = charon->ike_sa_manager->checkout_new(charon->ike_sa_manager,
ike_sa = charon->ike_sa_manager->create_new(charon->ike_sa_manager,
peer->get_ike_version(peer), TRUE);
if (ike_sa)
{