summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-08 17:17:17 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-08 17:17:17 -0500
commit0df014edada01d6aac0ef9b7277c6cea7d72f45d (patch)
tree81796c205d2f6e160c530bb85903bac21edee845 /src/common/crypto.c
parentb701b7962b256ad7c4c43ad191a8ee094613af11 (diff)
downloadtor-0df014edada01d6aac0ef9b7277c6cea7d72f45d.tar.gz
tor-0df014edada01d6aac0ef9b7277c6cea7d72f45d.zip
mark a variable unused.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index c0e118c99a..34e94b53a8 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2426,6 +2426,8 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
* the only gotcha is that requests are limited to 256 bytes.
*/
return getentropy(out, out_len);
+#else
+ (void) out;
#endif
/* This platform doesn't have a supported syscall based random. */