comparison 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
comparison
equal deleted inserted replaced
906:4696755c4cac 907:4a74c58e11fc
345 } 345 }
346 buf_incrwritepos(buf, ssize); 346 buf_incrwritepos(buf, ssize);
347 mp_clear(&rsa_s); 347 mp_clear(&rsa_s);
348 348
349 #if defined(DEBUG_RSA) && defined(DEBUG_TRACE) 349 #if defined(DEBUG_RSA) && defined(DEBUG_TRACE)
350 printhex("RSA sig", buf->data, buf->len); 350 if (!debug_trace) {
351 printhex("RSA sig", buf->data, buf->len);
352 }
351 #endif 353 #endif
352 354
353 355
354 TRACE(("leave buf_put_rsa_sign")) 356 TRACE(("leave buf_put_rsa_sign"))
355 } 357 }