diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-01-10 12:54:55 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-01-10 13:06:08 +0200 |
commit | e0e0338dc42ed786979759d56e0b65f129a5df8c (patch) | |
tree | 194725bdba30a390aa470dc5614eb399b6780da6 /src/lib/crypt_ops/crypto_rand.c | |
parent | f4938179c50cc385b7599e5a03388792e46cde83 (diff) | |
download | tor-e0e0338dc42ed786979759d56e0b65f129a5df8c.tar.gz tor-e0e0338dc42ed786979759d56e0b65f129a5df8c.zip |
Rename crypto_rand_uint32() -> crypto_rand_u32()
See https://github.com/torproject/tor/pull/624#discussion_r246453777
Diffstat (limited to 'src/lib/crypt_ops/crypto_rand.c')
-rw-r--r-- | src/lib/crypt_ops/crypto_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_rand.c b/src/lib/crypt_ops/crypto_rand.c index 7a2c417e5a..d148dfb3a8 100644 --- a/src/lib/crypt_ops/crypto_rand.c +++ b/src/lib/crypt_ops/crypto_rand.c @@ -532,7 +532,7 @@ crypto_rand_unmocked(char *to, size_t n) * Draw an unsigned 32-bit integer uniformly at random. */ uint32_t -crypto_rand_uint32(void) +crypto_rand_u32(void) { uint32_t rand; crypto_rand((void*)&rand, sizeof(rand)); |