summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHansH111 <hans@atbas.org>2022-03-19 09:03:51 +0000
committerHansH111 <hans@atbas.org>2022-03-19 09:03:51 +0000
commit74989454e3229c49782084395e5fc78a1fd392f8 (patch)
tree4c81c2291fc13c853b65c9ea8fa78317e6c9bd34
parent2ad42f37e3add326c372f96d323bb69bd9be3738 (diff)
downloaddropbear-74989454e3229c49782084395e5fc78a1fd392f8.tar.gz
changed TRACE to DEBUG2 for dbclient
-rw-r--r--common-kex.c16
1 files changed, 8 insertions, 8 deletions
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 : "<implicit>"))
+ DEBUG2(("hmac c2s is %s", c2s_hash_algo ? c2s_hash_algo->name : "<implicit>"))
/* 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 : "<implicit>"))
+ DEBUG2(("hmac s2c is %s", s2c_hash_algo ? s2c_hash_algo->name : "<implicit>"))
/* 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);