From b1225c11f89dad1a749b6572e50e5e5fce5234e8 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 14 May 2016 12:01:37 -0400 Subject: Trailing whitespace cleanup. --- tests/test-ecdsa.py | 2 +- tests/test-rpc_get_random.c | 4 ++-- tests/test-rpc_get_version.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test-ecdsa.py b/tests/test-ecdsa.py index efd96e3..f50cf59 100644 --- a/tests/test-ecdsa.py +++ b/tests/test-ecdsa.py @@ -129,7 +129,7 @@ for curve in curves: print "static const uint8_t %s[] = { /* %d bytes */" % (name, len(value)) print wrapper.fill(", ".join("0x%02x" % ord(v) for v in value)) print "};" - + print print "typedef struct {" print " hal_curve_name_t curve;" diff --git a/tests/test-rpc_get_random.c b/tests/test-rpc_get_random.c index 9e9765d..e495514 100644 --- a/tests/test-rpc_get_random.c +++ b/tests/test-rpc_get_random.c @@ -55,11 +55,11 @@ int main(int argc, char *argv[]) len = atoi(argv[1]); if (len <= 0) /* no arg, or bad arg */ len = DEFAULT_LEN; - + uint8_t rnd[len]; #define check(op) { hal_error_t err; if ((err = (op)) != HAL_OK) { printf("%s: %s\n", #op, hal_error_string(err)); return 1; } } - + check(hal_rpc_client_init()); check(hal_rpc_get_random(rnd, sizeof(rnd))); diff --git a/tests/test-rpc_get_version.c b/tests/test-rpc_get_version.c index ae1b745..d9041b8 100644 --- a/tests/test-rpc_get_version.c +++ b/tests/test-rpc_get_version.c @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) uint32_t version; #define check(op) { hal_error_t err; if ((err = (op)) != HAL_OK) { printf("%s: %s\n", #op, hal_error_string(err)); return 1; } } - + check(hal_rpc_client_init()); check(hal_rpc_get_version(&version)); printf("%08x\n", version); -- cgit v1.2.3