From: Loup Vaillant Date: Sat, 30 Jun 2018 19:09:00 +0000 (+0200) Subject: Removed debug printf() calls X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=57f40573910fff6da7d68b9e1d652037c6107dd9;p=Monocypher.git Removed debug printf() calls --- diff --git a/tests/test.c b/tests/test.c index 1b64a54..dd617a7 100644 --- a/tests/test.c +++ b/tests/test.c @@ -225,12 +225,7 @@ static void ed_25519_check(const vector in[], vector *out) const vector *public_k = in; const vector *msg = in + 1; const vector *sig = in + 2; - int corrupt = crypto_check(sig->buf, public_k->buf, msg->buf, msg->size); - out->buf[0] = corrupt; - print_vector(sig->buf , sig->size); - print_vector(public_k->buf, public_k->size); - print_vector(msg->buf , msg->size); - printf(corrupt ? "!\n" : ".\n"); + out->buf[0] = crypto_check(sig->buf, public_k->buf, msg->buf, msg->size); } #endif