diff options
Diffstat (limited to 'Source/charon/encoding/message.c')
-rw-r--r-- | Source/charon/encoding/message.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/charon/encoding/message.c b/Source/charon/encoding/message.c index 2aedf8492..d11bacfd3 100644 --- a/Source/charon/encoding/message.c +++ b/Source/charon/encoding/message.c @@ -759,6 +759,7 @@ static status_t parse_body(private_message_t *this, crypter_t *crypter, signer_t /* parse current payload */ status = this->parser->parse_payload(this->parser,current_payload_type,(payload_t **) ¤t_payload); + if (status != SUCCESS) { this->logger->log(this->logger, ERROR, "Payload type %s could not be parsed", |