aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/message.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-11-25 17:59:39 +0100
committerTobias Brunner <tobias@strongswan.org>2012-03-20 17:31:08 +0100
commit37639e94fba52dad26f8205ac3c263b34e697720 (patch)
treeae99f223f8ddd43a71f1a4a0c39b5f5c5119b818 /src/libcharon/encoding/message.c
parent29a5e0707eb6cb1fd3f23b399af8f2fa0e7efe9b (diff)
downloadstrongswan-37639e94fba52dad26f8205ac3c263b34e697720.tar.bz2
strongswan-37639e94fba52dad26f8205ac3c263b34e697720.tar.xz
Handle invalid IKEv1 hashes more specifically.
Diffstat (limited to 'src/libcharon/encoding/message.c')
-rw-r--r--src/libcharon/encoding/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/encoding/message.c b/src/libcharon/encoding/message.c
index 3b45b7608..6c6004fac 100644
--- a/src/libcharon/encoding/message.c
+++ b/src/libcharon/encoding/message.c
@@ -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);