Tweaked NAMES command reply for better. Should now show users
[silc.git] / apps / silc / client.h
index 8c9c4f2dcbe66e8c893423b1242aa75d9da23b30..8cf5bec1bb8dadda7970c558e1e5127a070fb732 100644 (file)
@@ -72,7 +72,6 @@ typedef struct {
   /* Keys */
   SilcCipher send_key;
   SilcCipher receive_key;
-  SilcPKCS public_key;
   SilcHmac hmac;
   unsigned char *hmac_key;
   unsigned int hmac_key_len;
@@ -109,6 +108,11 @@ typedef struct {
   char *username;
   char *realname;
 
+  /* Private and public key */
+  SilcPKCS pkcs;
+  SilcPublicKey public_key;
+  SilcPrivateKey private_key;
+
   /* SILC client task queues */
   SilcTaskQueue io_queue;
   SilcTaskQueue timeout_queue;