aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-02-07 12:22:29 -0500
committerRoger Dingledine <arma@torproject.org>2018-02-07 12:22:29 -0500
commita7440d9c9df1141a5ff52c1358bc28a8bb27bea3 (patch)
treeeab3a60021db7ade469173cb0c4c6076368b0dd0 /src/common/crypto.c
parent78382d557ab3da0b11f4fbda829f463067fc808f (diff)
downloadtor-a7440d9c9df1141a5ff52c1358bc28a8bb27bea3.tar.gz
tor-a7440d9c9df1141a5ff52c1358bc28a8bb27bea3.zip
more fixes for typos, grammar, whitespace, etc
some of these ought to have been noticed by the "misspell" tool, so if anybody is debugging it, here are some bug reports :)
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 6e420ab051..affcda40fa 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1915,7 +1915,7 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
return 0;
#elif defined(__linux__) && defined(SYS_getrandom)
- static int getrandom_works = 1; /* Be optimitic about our chances... */
+ static int getrandom_works = 1; /* Be optimistic about our chances... */
/* getrandom() isn't as straightforward as getentropy(), and has
* no glibc wrapper.