aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-10 09:02:10 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-10 09:02:10 -0500
commit7186e2a94361e29188ba43837e244683ce7fbf04 (patch)
tree7a2812d5dd3d609b575b0667c8974a385a0137f9 /src/common/crypto.h
parent7e7188cb00d02a52baee1a26b548cd5eebd85ce7 (diff)
parent3843c6615c7f62606973fef9068bbb7be58ff243 (diff)
downloadtor-7186e2a94361e29188ba43837e244683ce7fbf04.tar.gz
tor-7186e2a94361e29188ba43837e244683ce7fbf04.zip
Merge remote-tracking branch 'public/feature17694_strongest_027'
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 9b922ff818..0fba958f8d 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -273,7 +273,7 @@ int crypto_expand_key_material_rfc5869_sha256(
int crypto_seed_rng(void) ATTR_WUR;
MOCK_DECL(void,crypto_rand,(char *to, size_t n));
void crypto_rand_unmocked(char *to, size_t n);
-int crypto_strongest_rand(uint8_t *out, size_t out_len);
+void crypto_strongest_rand(uint8_t *out, size_t out_len);
int crypto_rand_int(unsigned int max);
int crypto_rand_int_range(unsigned int min, unsigned int max);
uint64_t crypto_rand_uint64_range(uint64_t min, uint64_t max);