From 74989454e3229c49782084395e5fc78a1fd392f8 Mon Sep 17 00:00:00 2001 From: HansH111 Date: Sat, 19 Mar 2022 09:03:51 +0000 Subject: changed TRACE to DEBUG2 for dbclient --- common-kex.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'common-kex.c') diff --git a/common-kex.c b/common-kex.c index 39d916b..41384d0 100644 --- a/common-kex.c +++ b/common-kex.c @@ -869,7 +869,7 @@ static void read_kex_algos() { goto error; } TRACE(("kexguess2 %d", kexguess2)) - TRACE(("kex algo %s", algo->name)) + DEBUG3(("kex algo %s", algo->name)) ses.newkeys->algo_kex = algo->data; /* server_host_key_algorithms */ @@ -879,7 +879,7 @@ static void read_kex_algos() { erralgo = "hostkey"; goto error; } - TRACE(("signature algo %s", algo->name)) + DEBUG2(("hostkey algo %s", algo->name)) ses.newkeys->algo_signature = algo->val; ses.newkeys->algo_hostkey = signkey_type_from_signature(ses.newkeys->algo_signature); @@ -889,7 +889,7 @@ static void read_kex_algos() { erralgo = "enc c->s"; goto error; } - TRACE(("enc c2s is %s", c2s_cipher_algo->name)) + DEBUG2(("enc c2s is %s", c2s_cipher_algo->name)) /* encryption_algorithms_server_to_client */ s2c_cipher_algo = buf_match_algo(ses.payload, sshciphers, 0, NULL); @@ -897,7 +897,7 @@ static void read_kex_algos() { erralgo = "enc s->c"; goto error; } - TRACE(("enc s2c is %s", s2c_cipher_algo->name)) + DEBUG2(("enc s2c is %s", s2c_cipher_algo->name)) /* mac_algorithms_client_to_server */ c2s_hash_algo = buf_match_algo(ses.payload, sshhashes, 0, NULL); @@ -910,7 +910,7 @@ static void read_kex_algos() { erralgo = "mac c->s"; goto error; } - TRACE(("hash c2s is %s", c2s_hash_algo ? c2s_hash_algo->name : "")) + DEBUG2(("hmac c2s is %s", c2s_hash_algo ? c2s_hash_algo->name : "")) /* mac_algorithms_server_to_client */ s2c_hash_algo = buf_match_algo(ses.payload, sshhashes, 0, NULL); @@ -923,7 +923,7 @@ static void read_kex_algos() { erralgo = "mac s->c"; goto error; } - TRACE(("hash s2c is %s", s2c_hash_algo ? s2c_hash_algo->name : "")) + DEBUG2(("hmac s2c is %s", s2c_hash_algo ? s2c_hash_algo->name : "")) /* compression_algorithms_client_to_server */ c2s_comp_algo = buf_match_algo(ses.payload, ses.compress_algos, 0, NULL); @@ -931,7 +931,7 @@ static void read_kex_algos() { erralgo = "comp c->s"; goto error; } - TRACE(("hash c2s is %s", c2s_comp_algo->name)) + DEBUG2(("comp c2s is %s", c2s_comp_algo->name)) /* compression_algorithms_server_to_client */ s2c_comp_algo = buf_match_algo(ses.payload, ses.compress_algos, 0, NULL); @@ -939,7 +939,7 @@ static void read_kex_algos() { erralgo = "comp s->c"; goto error; } - TRACE(("hash s2c is %s", s2c_comp_algo->name)) + DEBUG2(("comp s2c is %s", s2c_comp_algo->name)) /* languages_client_to_server */ buf_eatstring(ses.payload); -- cgit v1.2.1