mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Fix spaces in crypto.h and test-memwipe.c
This commit is contained in:
parent
e891deb021
commit
af2b6bdaba
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
void crypto_add_spaces_to_fp(char *out, size_t outlen, const char *in);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -148,8 +148,11 @@ check_heap_buffer(void)
|
||||||
|
|
||||||
static struct testcase {
|
static struct testcase {
|
||||||
const char *name;
|
const char *name;
|
||||||
unsigned (*fill_fn)(void);
|
/* this spacing satisfies make check-spaces */
|
||||||
unsigned (*check_fn)(void);
|
unsigned
|
||||||
|
(*fill_fn)(void);
|
||||||
|
unsigned
|
||||||
|
(*check_fn)(void);
|
||||||
} testcases[] = {
|
} testcases[] = {
|
||||||
{ "nil", fill_a_buffer_nothing, check_a_buffer },
|
{ "nil", fill_a_buffer_nothing, check_a_buffer },
|
||||||
{ "nil-heap", fill_heap_buffer_nothing, check_heap_buffer },
|
{ "nil-heap", fill_heap_buffer_nothing, check_heap_buffer },
|
||||||
|
|
Loading…
Add table
Reference in a new issue