Fixed some bugs in Requested Attributes support.
[silc.git] / lib / silcclient / client.c
index 45d81d04daa12f486a8d3b278c1b312bbb152db3..8b50fa4ac84d03be13fb5bcaa09f15888ee756d9 100644 (file)
@@ -103,8 +103,8 @@ int silc_client_init(SilcClient client)
   SILC_LOG_DEBUG(("Initializing client"));
 
   /* Initialize hash functions for client to use */
-  silc_hash_alloc("md5", &client->internal->md5hash);
-  silc_hash_alloc("sha1", &client->internal->sha1hash);
+  silc_hash_alloc("md5", &client->md5hash);
+  silc_hash_alloc("sha1", &client->sha1hash);
 
   /* Initialize none cipher */
   silc_cipher_alloc("none", &client->internal->none_cipher);