Handle invalid IKEv1 hashes more specifically.

This commit is contained in:
Tobias Brunner
2012-03-20 17:31:08 +01:00
parent 29a5e0707e
commit 37639e94fb
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ static status_t parse_message(private_task_manager_t *this, message_t *msg)
case FAILED:
DBG1(DBG_IKE, "integrity check failed");
send_notify_response(this, msg,
PAYLOAD_MALFORMED, chunk_empty);
INVALID_HASH_INFORMATION, chunk_empty);
break;
case INVALID_STATE:
DBG1(DBG_IKE, "found encrypted message, but no keys available");