This commit is contained in:
Tobias Brunner
2007-09-27 10:36:03 +00:00
parent 93720075df
commit 278396b6da
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ static status_t verify(private_sa_payload_t *this)
{ {
if (current_number != (expected_number + 1)) if (current_number != (expected_number + 1))
{ {
DBG1(DBG_ENC, "proposal number is %d, excepted %d or %d", DBG1(DBG_ENC, "proposal number is %d, expected %d or %d",
current_number, expected_number, expected_number + 1); current_number, expected_number, expected_number + 1);
status = FAILED; status = FAILED;
break; break;
@@ -121,7 +121,7 @@ struct eap_authenticator_t {
* After receiving an EAP message "in", the peer/server processes * After receiving an EAP message "in", the peer/server processes
* the payload and creates a reply/subsequent request. * the payload and creates a reply/subsequent request.
* The server side always returns NEED_MORE if another EAP message * The server side always returns NEED_MORE if another EAP message
* is excepted from the client, SUCCESS if EAP exchange completed and * is expected from the client, SUCCESS if EAP exchange completed and
* "out" is EAP_SUCCES, or FAILED if the EAP exchange failed with * "out" is EAP_SUCCES, or FAILED if the EAP exchange failed with
* a EAP_FAILURE payload in "out". Anyway, a payload in "out" is always * a EAP_FAILURE payload in "out". Anyway, a payload in "out" is always
* created. * created.
+2 -2
View File
@@ -823,7 +823,7 @@ static status_t process_message(private_task_manager_t *this, message_t *msg)
} }
else else
{ {
DBG1(DBG_IKE, "received message ID %d, excepted %d. Ignored", DBG1(DBG_IKE, "received message ID %d, expected %d. Ignored",
mid, this->responding.mid); mid, this->responding.mid);
} }
} }
@@ -839,7 +839,7 @@ static status_t process_message(private_task_manager_t *this, message_t *msg)
} }
else else
{ {
DBG1(DBG_IKE, "received message ID %d, excepted %d. Ignored", DBG1(DBG_IKE, "received message ID %d, expected %d. Ignored",
mid, this->initiating.mid); mid, this->initiating.mid);
return SUCCESS; return SUCCESS;
} }