aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index b4e8f171a..ae312d273 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -460,7 +460,7 @@ rend_client_get_random_intro(const char *query)
if (!entry->parsed->n_intro_points)
return NULL;
- i = crypto_pseudo_rand_int(entry->parsed->n_intro_points);
+ i = crypto_rand_int(entry->parsed->n_intro_points);
if (entry->parsed->intro_point_extend_info) {
return extend_info_dup(entry->parsed->intro_point_extend_info[i]);