aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/message.c
diff options
context:
space:
mode:
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);