diff rsa.c @ 907:4a74c58e11fc

Make some debug info conditional
author Matt Johnston <matt@ucc.asn.au>
date Mon, 24 Feb 2014 20:53:32 +0800
parents 220f55d540ae
children c45d65392c1a
line wrap: on
line diff
--- a/rsa.c	Sat Feb 22 18:02:09 2014 +0800
+++ b/rsa.c	Mon Feb 24 20:53:32 2014 +0800
@@ -347,7 +347,9 @@
 	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