Added SILC Server library.
[silc.git] / lib / silcclient / client_notify.c
index eb1f97edb9d95bcb1bae370c21cbeba5946468a0..c9b6ab632376fb2d175d55a014162bd25942e9a5 100644 (file)
@@ -21,7 +21,7 @@
    important packets sent by the server. They tell different things to the
    client such as nick changes, mode changes etc. */
 
-#include "silcincludes.h"
+#include "silc.h"
 #include "silcclient.h"
 #include "client_internal.h"
 
@@ -826,7 +826,7 @@ void silc_client_notify_by_server(SilcClient client,
       /* Get the hmac */
       hmac = silc_argument_get_arg_type(args, 4, &tmp_len);
       if (hmac) {
-       unsigned char hash[32];
+       unsigned char hash[SILC_HASH_MAXLEN];
 
        if (channel->hmac)
          silc_hmac_free(channel->hmac);
@@ -1369,7 +1369,7 @@ void silc_client_notify_by_server(SilcClient client,
        * Received notify about some client we are watching
        */
       SilcNotifyType notify = 0;
-      bool del_client = FALSE;
+      SilcBool del_client = FALSE;
       unsigned char *pk;
       SilcUInt32 pk_len;
       SilcPublicKey public_key = NULL;