From ef744d8b1a7918a071cfd39b6e4379dd657c9167 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Wed, 7 Nov 2018 17:01:25 +0200 Subject: [PATCH] small fix in printf's --- common/polarssl/libpcrypto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/polarssl/libpcrypto.c b/common/polarssl/libpcrypto.c index e9941c05..d05c18c1 100644 --- a/common/polarssl/libpcrypto.c +++ b/common/polarssl/libpcrypto.c @@ -348,7 +348,7 @@ int ecdsa_nist_test(bool verbose) { // NIST ecdsa test if (verbose) - printf("ECDSA NIST test: "); + printf(" ECDSA NIST test: "); // make signature res = ecdsa_signature_create_test(T_PRIVATE_KEY, T_Q_X, T_Q_Y, T_K, input, length, signature, &siglen); // printf("res: %x signature[%x]: %s\n", (res<0)?-res:res, siglen, sprint_hex(signature, siglen)); @@ -390,7 +390,7 @@ int ecdsa_nist_test(bool verbose) { // random ecdsa test if (verbose) - printf("ECDSA binary signature create/check test: "); + printf(" ECDSA binary signature create/check test: "); uint8_t key_d[32] = {0}; uint8_t key_xy[32 * 2 + 2] = {0}; @@ -415,11 +415,11 @@ int ecdsa_nist_test(bool verbose) { goto exit; if (verbose) - printf("passed\n"); + printf("passed\n\n"); return 0; exit: if (verbose) - printf("failed\n"); + printf("failed\n\n"); return res; }