we will use the old key in decryption. If that fails too then we
cannot do more and will drop the packet. */
if (!payload) {
- if (!channel->old_channel_key)
+ SILC_LOG_ERROR(("decr failed"));
+ if (!channel->old_channel_key) {
+ SILC_LOG_ERROR(("no old key"));
goto out;
+ }
payload = silc_channel_message_payload_parse(buffer->data, buffer->len,
channel->old_channel_key,
channel->old_hmac);
- if (!payload)
+ if (!payload) {
+ SILC_LOG_ERROR(("old decr failed"));
goto out;
+ }
}
} else if (channel->private_keys) {
SilcChannelPrivateKey entry;