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
@@ -1942,7 +1942,7 @@ METHOD(message_t, parse_body, status_t,
DBG1(DBG_ENC, "our hash does not match received %B",
&other_hash);
chunk_free(&hash);
return VERIFY_ERROR;
return FAILED;
}
DBG2(DBG_ENC, "verified IKEv1 message with hash %B", &hash);
chunk_free(&hash);