aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_get_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-rpc_get_random.c')
-rw-r--r--tests/test-rpc_get_random.c4
1 files changed, 2 insertions, 2 deletions
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)));