Initial code commit for Toolkit 1.1.
[silc.git] / apps / silcd / command_reply.c
index 506c7f1e79b7094791a0a9e17c834b2bdecf159e..78dd08cfd9a358188b1e27e1bdbbd63b43d6f280 100644 (file)
@@ -331,7 +331,7 @@ silc_server_command_reply_whois_save(SilcServerCommandReplyContext cmd)
     if (server->server_type != SILC_ROUTER && !client->data.public_key) {
       SilcAttributePayload attr;
       SilcAttributeObjPk pk;
-      unsigned char f[20];
+      unsigned char f[SILC_HASH_MAXLEN];
       SilcDList attrs = silc_attribute_payload_parse(tmp, len);
 
       SILC_LOG_DEBUG(("Take client public key from attributes"));