From 57f40573910fff6da7d68b9e1d652037c6107dd9 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sat, 30 Jun 2018 21:09:00 +0200 Subject: [PATCH] Removed debug printf() calls --- tests/test.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 -- 2.47.3