New silcconfig library and server parser. Merged silc-newconfig-final.patch.
[silc.git] / lib / silcclient / client_channel.c
index 814dea43b6c03b942ea56fab22ddac58bbaf09fd..0ac903df235e6727a05140d795d23ac881e36cf0 100644 (file)
@@ -241,14 +241,16 @@ void silc_client_channel_message(SilcClient client,
        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)
+      if (!channel->old_channel_key) {
        goto out;
+      }
 
       payload = silc_channel_message_payload_parse(buffer->data, buffer->len, 
                                                   channel->old_channel_key,
                                                   channel->old_hmac);
-      if (!payload)
+      if (!payload) {
        goto out;
+      }
     }
   } else if (channel->private_keys) {
     SilcChannelPrivateKey entry;