updates.
[silc.git] / lib / silccore / silcpacket.c
index 80be09c46b9b704e1d9c4ff2f48cc41bc0aba1fd..1708226e1bfffec89beb06e29edb1d236bd1b259 100644 (file)
@@ -479,6 +479,7 @@ static int silc_packet_check_mac(SilcHmac hmac, SilcBuffer buffer)
     /* Compare the HMAC's (buffer->tail has the packet's HMAC) */
     if (memcmp(mac, buffer->tail, mac_len)) {
       SILC_LOG_ERROR(("MAC failed"));
+      assert(FALSE);
       return FALSE;
     }