aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_shared_random.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:49:43 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:49:43 -0400
commited84dab8b4cd691dcdc0fecfb9c451bb0ffd930a (patch)
tree9ec125760c2bf8e1980063e93cedceaa1d13bcfa /src/test/test_shared_random.c
parent6e9d5fc4ec40136d173be680a85a9bfb9b99fea4 (diff)
parenta3ec89a4f8a6222403697b7f7fce5d5138b79994 (diff)
downloadtor-ed84dab8b4cd691dcdc0fecfb9c451bb0ffd930a.tar.gz
tor-ed84dab8b4cd691dcdc0fecfb9c451bb0ffd930a.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/test/test_shared_random.c')
-rw-r--r--src/test/test_shared_random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 0d0a2ad9ae..b7cd33715f 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -869,6 +869,7 @@ test_sr_setup_commits(void)
/* Now during REVEAL phase save commit D by restoring its reveal. */
set_sr_phase(SR_PHASE_REVEAL);
save_commit_to_state(place_holder);
+ place_holder = NULL;
tt_str_op(commit_d->encoded_reveal, OP_EQ,
"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
/* Go back to an empty encoded reveal value. */