commit af2b6bdaba85d617f9eb93c67457f8b89b088b2d Author: teor teor2345@gmail.com Date: Wed Apr 15 19:42:41 2015 +1000
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 440ff23..b9c26a4 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 a721a8e..815475a 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 },
tor-commits@lists.torproject.org