Don't send CERTREQs when initiating aggressive mode PSK
This commit is contained in:
@@ -349,6 +349,10 @@ METHOD(task_t, build_i, status_t,
|
|||||||
case AGGRESSIVE:
|
case AGGRESSIVE:
|
||||||
if (this->state == CR_SA)
|
if (this->state == CR_SA)
|
||||||
{
|
{
|
||||||
|
if (!use_certs(this, message))
|
||||||
|
{
|
||||||
|
return SUCCESS;
|
||||||
|
}
|
||||||
build_certreqs(this, message);
|
build_certreqs(this, message);
|
||||||
}
|
}
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
|
|||||||
Reference in New Issue
Block a user