mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix warnings about passing uninitialized buffers into functions
Most of these buffers were never actually inspected, but it's still bad style.
This commit is contained in:
@@ -1231,6 +1231,8 @@ test_keep_commit(void *arg)
|
||||
state = get_sr_state();
|
||||
}
|
||||
|
||||
crypto_rand((char*)fp, sizeof(fp));
|
||||
|
||||
/* Test this very important function that tells us if we should keep a
|
||||
* commit or not in our state. Most of it depends on the phase and what's
|
||||
* in the commit so we'll change the commit as we go. */
|
||||
|
||||
Reference in New Issue
Block a user