From e703dcb8adea7fec16914f71be6509edb1ab203e Mon Sep 17 00:00:00 2001 From: "osboxes.org" Date: Wed, 10 Apr 2019 09:49:42 +0200 Subject: [PATCH] style --- client/crypto/libpcrypto.c | 6 +++--- client/graph.c | 4 ++-- include/common.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/crypto/libpcrypto.c b/client/crypto/libpcrypto.c index 0def5b2f7..7ea667e7e 100644 --- a/client/crypto/libpcrypto.c +++ b/client/crypto/libpcrypto.c @@ -382,13 +382,13 @@ int ecdsa_nist_test(bool verbose) { res = 1; goto exit; } - + if (verbose) { printf("passed\n"); printf(" ECDSA binary signature create/check test: "); } - - // random ecdsa test + + // random ecdsa test uint8_t key_d[32] = {0}; uint8_t key_xy[32 * 2 + 2] = {0}; memset(signature, 0x00, sizeof(signature)); diff --git a/client/graph.c b/client/graph.c index 4d77ef2b3..677ab0846 100644 --- a/client/graph.c +++ b/client/graph.c @@ -174,7 +174,7 @@ int GetPskClock(const char *str, bool printAns) { // Only print this message if we're not looping something if (printAns) PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1); - + return clock1; } @@ -200,7 +200,7 @@ int GetNrzClock(const char *str, bool printAns) { // Only print this message if we're not looping something if (printAns) PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1); - + return clock1; } //by marshmellow diff --git a/include/common.h b/include/common.h index 87f059179..76ebccbf0 100644 --- a/include/common.h +++ b/include/common.h @@ -23,7 +23,7 @@ extern "C" { typedef unsigned char byte_t; // debug -#define MF_DBG_NONE 0 // no messages +#define MF_DBG_NONE 0 // no messages #define MF_DBG_ERROR 1 // errors only #define MF_DBG_INFO 2 // errors + info messages #define MF_DBG_DEBUG 3 // errors + info + debug messages