Better security property logging, logs PFS setting now too.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 3 Apr 2002 09:45:39 +0000 (09:45 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 3 Apr 2002 09:45:39 +0000 (09:45 +0000)
apps/silcd/protocol.c

index 9e218217b4fdb5ddba43cc1e6df943fa6f3a9b5e..ed22ce15ef14cbc044a7745545d444457eacc8f9 100644 (file)
@@ -310,11 +310,12 @@ int silc_server_protocol_ke_set_keys(SilcServer server,
 
   sock->user_data = (void *)conn_data;
 
-  SILC_LOG_INFO(("%s (%s) security properties: %s %s %s", 
+  SILC_LOG_INFO(("%s (%s) security properties: %s %s %s %s", 
                 sock->hostname, sock->ip,
                 idata->send_key->cipher->name,
                 (char *)silc_hmac_get_name(idata->hmac_send),
-                idata->hash->hash->name));
+                idata->hash->hash->name, 
+                ske->prop->flags & SILC_SKE_SP_FLAG_PFS ? "PFS" : ""));
 
   return TRUE;
 }