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
commit36c372581f8d7651c336f69b9b1b051d3d31d548 (patch)
treee747a17b19a9777fa1c76caecc4948d1c8397e75 /src/test/test_shared_random.c
parent92b4996b233a6a5d034b4ecc47b9f97985bb5886 (diff)
parented84dab8b4cd691dcdc0fecfb9c451bb0ffd930a (diff)
downloadtor-36c372581f8d7651c336f69b9b1b051d3d31d548.tar.gz
tor-36c372581f8d7651c336f69b9b1b051d3d31d548.zip
Merge branch 'maint-0.3.2' into maint-0.3.3
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 4c174d1c17..437fc38deb 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -872,6 +872,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. */