+Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed channel private key listing with /key. Affected file
+ is apps/irssi/src/silc/core/silc-channels.c.
+
+ * Fixed the public headers from anonymous structures. Affected
+ files are lib/.
+
+ * Changed silc_buffer_*len macros to inline functions. Affected
+ file is lib/silcutil/silcbuffer.h.
+
Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
* Fixed nickname format parsing in JOIN notify handling and
o Improve help files, especially /cmode, /cumode and /key.
- o /listkeys crash when silc_pkcs_public_key_encode returns NULL.
-
- o /key channel * list doesn't return aything when key is set and user
- got "Private key set to channel xxx".
-
lib/silcclient, The Client Library ***PARTLY DONE****
==================================
if (!ckeys)
goto out;
+ silc_dlist_start(ckeys);
if (!number || number > silc_dlist_count(ckeys)) {
silc_dlist_uninit(ckeys);
goto out;
if (!ckeys)
goto out;
+ silc_dlist_start(ckeys);
while ((ch = silc_dlist_get(ckeys))) {
memset(buf, 0, sizeof(buf));
strncat(buf, " ", 2);
if (!ckeys)
goto out;
+ silc_dlist_start(ckeys);
if (argc == 4) {
chanrec->cur_key++;
if (chanrec->cur_key >= silc_dlist_count(ckeys))
ident = &silc_pubkey->identifier;
pk = silc_pkcs_public_key_encode(public_key, &pk_len);
+ if (!pk)
+ return;
fingerprint = silc_hash_fingerprint(NULL, pk, pk_len);
babbleprint = silc_hash_babbleprint(NULL, pk, pk_len);
key_len = silc_pkcs_public_key_get_len(public_key);