aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-30 09:00:30 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-30 09:00:30 +0000
commit63bfd6cc7cd6e58b250c10029bde3d5790a68c04 (patch)
tree19596bd73b57256fd65b480ee72cb71717f6d665 /Source
parentf8c6d7e46fdc95d1552900db256694c9557657d0 (diff)
downloadstrongswan-63bfd6cc7cd6e58b250c10029bde3d5790a68c04.tar.bz2
strongswan-63bfd6cc7cd6e58b250c10029bde3d5790a68c04.tar.xz
added more logging
Diffstat (limited to 'Source')
-rw-r--r--Source/charon/encoding/message.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/charon/encoding/message.c b/Source/charon/encoding/message.c
index f53f3916a..36ff4df1d 100644
--- a/Source/charon/encoding/message.c
+++ b/Source/charon/encoding/message.c
@@ -788,12 +788,14 @@ static status_t decrypt_payloads (private_message_t *this,crypter_t *crypter, si
/* get current payload */
iterator->current(iterator,(void **)&current_payload);
+ this->logger->log(this->logger, CONTROL | MOST, "Process payload of type %s.",mapping_find(payload_type_m,current_payload->get_type(current_payload)));
+
if (current_payload->get_type(current_payload) == ENCRYPTED)
{
encryption_payload_t *encryption_payload;
iterator_t *encrypted_payload_iterator;
payload_t *current_encrypted_payload;
-
+
if (!message_rule->encrypted_content)
{
this->logger->log(this->logger, ERROR | MORE, "Encrypted payload not allowed for this message type");