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 | 01faf1d6a3537a2e5ddc469ef60cdf3ebf02e76c (patch) | |
tree | 1e7ab4d230a9bc745f1ce80a12b4a34afa66ecfb /rsa.c | |
parent | 75d54828b67e3752c89da035dcca6abf0d59d14c (diff) | |
download | dropbear-01faf1d6a3537a2e5ddc469ef60cdf3ebf02e76c.tar.gz |
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 |