From af2b6bdaba85d617f9eb93c67457f8b89b088b2d Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 15 Apr 2015 19:42:41 +1000 Subject: [PATCH] Fix spaces in crypto.h and test-memwipe.c --- src/common/crypto.h | 1 + src/test/test-memwipe.c | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/common/crypto.h b/src/common/crypto.h index 440ff23ee8..b9c26a4551 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -296,3 +296,4 @@ struct dh_st *crypto_dh_get_dh_(crypto_dh_t *dh); void crypto_add_spaces_to_fp(char *out, size_t outlen, const char *in); #endif + diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c index a721a8e728..815475a55e 100644 --- a/src/test/test-memwipe.c +++ b/src/test/test-memwipe.c @@ -148,8 +148,11 @@ check_heap_buffer(void) static struct testcase { const char *name; - unsigned (*fill_fn)(void); - unsigned (*check_fn)(void); + /* this spacing satisfies make check-spaces */ + unsigned + (*fill_fn)(void); + unsigned + (*check_fn)(void); } testcases[] = { { "nil", fill_a_buffer_nothing, check_a_buffer }, { "nil-heap", fill_heap_buffer_nothing, check_heap_buffer }, -- 2.11.4.GIT