aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-01 12:06:39 -0500
committerNick Mathewson <nickm@torproject.org>2018-10-01 12:06:39 -0500
commit58299b2927ffe4c7db7ddb6b3d44d1567c8a341f (patch)
tree8fb0de157e1118cb1b1d5693e9a4cb4e688dc207 /src/test
parentc4e29001c48f33ea8b0035da65da50ddf15ffa71 (diff)
parentea5792f333b1b92306d20e60b5e12bb0633aa740 (diff)
downloadtor-58299b2927ffe4c7db7ddb6b3d44d1567c8a341f.tar.gz
tor-58299b2927ffe4c7db7ddb6b3d44d1567c8a341f.zip
Merge remote-tracking branch 'public/bug27728'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_hs_descriptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c
index 90f2be2906..428ca1024b 100644
--- a/src/test/test_hs_descriptor.c
+++ b/src/test/test_hs_descriptor.c
@@ -909,7 +909,7 @@ test_build_authorized_client(void *arg)
client_pubkey_b16,
strlen(client_pubkey_b16));
- MOCK(crypto_strongest_rand, mock_crypto_strongest_rand);
+ MOCK(crypto_strongest_rand_, mock_crypto_strongest_rand);
hs_desc_build_authorized_client(subcredential,
&client_auth_pk, &auth_ephemeral_sk,
@@ -925,7 +925,7 @@ test_build_authorized_client(void *arg)
done:
tor_free(desc_client);
tor_free(mem_op_hex_tmp);
- UNMOCK(crypto_strongest_rand);
+ UNMOCK(crypto_strongest_rand_);
}
struct testcase_t hs_descriptor[] = {