diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-02-24 20:53:32 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-02-24 20:53:32 +0800 |
commit | 12e7d570a2c853b675ad5157732a265abae295c1 (patch) | |
tree | 41640c696e6dd199293758f1cece7745d7e518b7 /rsa.c | |
parent | bb7934bf04128c8db9d129fd0c5db7f03b5311b8 (diff) |
Make some debug info conditional
Diffstat (limited to 'rsa.c')
-rw-r--r-- | rsa.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -347,7 +347,9 @@ void buf_put_rsa_sign(buffer* buf, dropbear_rsa_key *key, buffer *data_buf) { mp_clear(&rsa_s); #if defined(DEBUG_RSA) && defined(DEBUG_TRACE) - printhex("RSA sig", buf->data, buf->len); + if (!debug_trace) { + printhex("RSA sig", buf->data, buf->len); + } #endif |