Revision 20d144e7
| b/src/charon/sa/task_manager.c | ||
|---|---|---|
| 454 | 454 |
/* update exchange type if a task changed it */ |
| 455 | 455 |
this->initiating.type = message->get_exchange_type(message); |
| 456 | 456 |
|
| 457 |
charon->bus->message(charon->bus, message, FALSE); |
|
| 457 | 458 |
status = this->ike_sa->generate_message(this->ike_sa, message, |
| 458 | 459 |
&this->initiating.packet); |
| 459 | 460 |
if (status != SUCCESS) |
| ... | ... | |
| 465 | 466 |
charon->bus->ike_updown(charon->bus, this->ike_sa, FALSE); |
| 466 | 467 |
return DESTROY_ME; |
| 467 | 468 |
} |
| 468 |
|
|
| 469 |
charon->bus->message(charon->bus, message, FALSE); |
|
| 470 | 469 |
message->destroy(message); |
| 471 | 470 |
|
| 472 | 471 |
return retransmit(this, this->initiating.mid); |
| ... | ... | |
| 644 | 643 |
/* message complete, send it */ |
| 645 | 644 |
DESTROY_IF(this->responding.packet); |
| 646 | 645 |
this->responding.packet = NULL; |
| 646 |
charon->bus->message(charon->bus, message, FALSE); |
|
| 647 | 647 |
status = this->ike_sa->generate_message(this->ike_sa, message, |
| 648 | 648 |
&this->responding.packet); |
| 649 |
charon->bus->message(charon->bus, message, FALSE); |
|
| 650 | 649 |
message->destroy(message); |
| 651 | 650 |
if (status != SUCCESS) |
| 652 | 651 |
{
|
Also available in: Unified diff