summaryrefslogtreecommitdiffhomepage
path: root/rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'rsa.c')
-rw-r--r--rsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rsa.c b/rsa.c
index 7eb6413..193e577 100644
--- a/rsa.c
+++ b/rsa.c
@@ -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