Skip to content
Snippets Groups Projects
Commit 9dcb04a1 authored by Francois Perrad's avatar Francois Perrad
Browse files

fix DEBUG_* condition

parent 08543d0c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -774,7 +774,7 @@ static void finish_kexhashbuf(void) {
hash_desc->done(&hs, buf_getwriteptr(ses.hash, hash_desc->hashsize));
buf_setlen(ses.hash, hash_desc->hashsize);
 
#if (DEBUG_KEXHASH) && (DEBUG_TRACE)
#if defined(DEBUG_KEXHASH) && DEBUG_TRACE
if (!debug_trace) {
printhex("kexhashbuf", ses.kexhashbuf->data, ses.kexhashbuf->len);
printhex("kexhash", ses.hash->data, ses.hash->len);
Loading
Loading
Loading
Loading
@@ -346,7 +346,7 @@ void buf_put_rsa_sign(buffer* buf, dropbear_rsa_key *key, buffer *data_buf) {
buf_incrwritepos(buf, ssize);
mp_clear(&rsa_s);
 
#if defined(DEBUG_RSA) && defined(DEBUG_TRACE)
#if defined(DEBUG_RSA) && DEBUG_TRACE
if (!debug_trace) {
printhex("RSA sig", buf->data, buf->len);
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment