Browse Source

Fix spaces in crypto.h and test-memwipe.c

teor 9 years ago
parent
commit
af2b6bdaba
2 changed files with 6 additions and 2 deletions
  1. 1 0
      src/common/crypto.h
  2. 5 2
      src/test/test-memwipe.c

+ 1 - 0
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
+

+ 5 - 2
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 },