X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_util.c;h=233299570b5b537545f4f5e1d8bf791f158a7b4f;hb=581d2aecadb68f43e70691001d772fe46b459e24;hp=c48e9a5474ebff44629385a02745eec9ca3070b8;hpb=fb7bc4b5172fd6fa0ae96f876a33cd2ec5139b6e;p=silc.git diff --git a/apps/silcd/server_util.c b/apps/silcd/server_util.c index c48e9a54..23329957 100644 --- a/apps/silcd/server_util.c +++ b/apps/silcd/server_util.c @@ -1426,6 +1426,7 @@ void silc_server_send_connect_notifys(SilcServer server, SilcClientEntry client) { SilcCipher key; + SilcHmac hmac; SILC_LOG_DEBUG(("Send welcome notifys")); @@ -1486,12 +1487,12 @@ void silc_server_send_connect_notifys(SilcServer server, server->stat.my_router_ops + server->stat.my_server_ops)); - silc_packet_get_keys(sock, &key, NULL, NULL, NULL); + silc_packet_get_keys(sock, &key, NULL, &hmac, NULL); SILC_SERVER_SEND_NOTIFY(server, sock, SILC_NOTIFY_TYPE_NONE, - ("Your connection is secured with %s cipher, " - "key length %d bits", + ("Your connection is secured with %s cipher " + "and %s MAC", silc_cipher_get_name(key), - silc_cipher_get_key_len(key))); + silc_hmac_get_name(hmac))); SILC_SERVER_SEND_NOTIFY(server, sock, SILC_NOTIFY_TYPE_NONE, ("Your current nickname is %s", client->nickname));