diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-30 08:55:59 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-30 08:55:59 +0000 |
commit | af30c6b9105caac78afdd989e2158bfb03e970fe (patch) | |
tree | e5dbc8bc0144c7963fd28aff50460300def40742 /Source/charon/encoding | |
parent | 9e9533d93bd8f781c7d907aebb7cf6146fab1c5d (diff) | |
download | strongswan-af30c6b9105caac78afdd989e2158bfb03e970fe.tar.bz2 strongswan-af30c6b9105caac78afdd989e2158bfb03e970fe.tar.xz |
Diffstat (limited to 'Source/charon/encoding')
-rw-r--r-- | Source/charon/encoding/message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/charon/encoding/message.c b/Source/charon/encoding/message.c index b06850b23..f9864d99e 100644 --- a/Source/charon/encoding/message.c +++ b/Source/charon/encoding/message.c @@ -843,11 +843,13 @@ static status_t decrypt_payloads (private_message_t *this,crypter_t *crypter, si /* encryption_payload is replaced with first encrypted payload*/ encrypted_payload_iterator->current(encrypted_payload_iterator,(void **)¤t_encrypted_payload); + this->logger->log(this->logger, CONTROL | MORE, "Replace encrypted payload with payload of type %s.",mapping_find(payload_type_m,current_encrypted_payload->get_type(current_encrypted_payload)); iterator->replace(iterator,NULL,(void *) current_encrypted_payload); /* all encrypted payloads are added to the payload list */ while (encrypted_payload_iterator->has_next(encrypted_payload_iterator)) { + this->logger->log(this->logger, CONTROL | MORE, "Insert unencrypted payload of type %s at end of list.",mapping_find(payload_type_m,current_encrypted_payload->get_type(current_encrypted_payload)); encrypted_payload_iterator->current(encrypted_payload_iterator,(void **)¤t_encrypted_payload); this->payloads->insert_last(this->payloads,current_encrypted_payload); } |