]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix spaces in crypto.h and test-memwipe.c
authorteor <teor2345@gmail.com>
Wed, 15 Apr 2015 09:42:41 +0000 (19:42 +1000)
committerteor <teor2345@gmail.com>
Wed, 15 Apr 2015 09:42:41 +0000 (19:42 +1000)
src/common/crypto.h
src/test/test-memwipe.c

index 440ff23ee8f2c6f932aefb6bed4e5a3056131add..b9c26a4551147f1ab6118bafc50937be28f14c8c 100644 (file)
@@ -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
+
index a721a8e728f8377db43b9865c0a6c92723b40cb8..815475a55ea5cf4b05ca1194ed5669e7caeea0c7 100644 (file)
@@ -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 },