diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-23 10:13:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-07-24 15:21:56 -0400 |
commit | 57e87cc86cce0b9fb351b1862f99c84bfa8100eb (patch) | |
tree | 38b5ba153f209fe127ad61a95cf30c9adf4443fa /src/test/fuzz/fuzzing_common.c | |
parent | a1b2817abefc5c696e469fa4fd8a09cc5f286aa6 (diff) | |
download | tor-57e87cc86cce0b9fb351b1862f99c84bfa8100eb.tar.gz tor-57e87cc86cce0b9fb351b1862f99c84bfa8100eb.zip |
Use config_new() to construct configuration objects.
We'll need to do it this way once the objects become more complex.
Diffstat (limited to 'src/test/fuzz/fuzzing_common.c')
-rw-r--r-- | src/test/fuzz/fuzzing_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c index 6d0f9d7d60..1285d94aee 100644 --- a/src/test/fuzz/fuzzing_common.c +++ b/src/test/fuzz/fuzzing_common.c @@ -111,7 +111,7 @@ global_init(void) } /* set up the options. */ - mock_options = tor_malloc_zero(sizeof(or_options_t)); + mock_options = options_new(); MOCK(get_options, mock_get_options); /* Make BUG() and nonfatal asserts crash */ |