From 99b76241bd67e7787e91d6264ac511ccd620291b Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 1 Oct 2020 21:44:18 -0500 Subject: [PATCH] wolfcrypt/test/test.c: remove debugging printf in XChaCha20Poly1305_test(). --- wolfcrypt/test/test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 9a8ef4c06..3222613aa 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -10217,10 +10217,8 @@ static int XChaCha20Poly1305_test(void) { IV, sizeof IV, Key, sizeof Key); - if (ret < 0) { - printf("wc_XChaCha20Poly1305_decrypt_oneshot failed: %s\n",wc_GetErrorString(ret)); + if (ret < 0) ERROR_OUT(-4763, out); - } if (XMEMCMP(buf2, Plaintext, sizeof Plaintext)) ERROR_OUT(-4764, out);