summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-30 07:57:22 -0700
committerNick Mathewson <nickm@torproject.org>2018-05-30 07:57:22 -0700
commitd7bbfd0f6217181fc7f4a4a71d23874873a5262a (patch)
tree20e20c4a180ad8be946738bbe6b45c4867cbbe32
parentaff49cc52dfabbd235505e12d507c6faf3262307 (diff)
downloadtor-d7bbfd0f6217181fc7f4a4a71d23874873a5262a.tar.gz
tor-d7bbfd0f6217181fc7f4a4a71d23874873a5262a.zip
Fix various typos
-rw-r--r--ReleaseNotes2
-rw-r--r--scripts/test/appveyor-irc-notify.py2
-rw-r--r--src/common/crypto_rand.h2
-rw-r--r--src/test/test_controller.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/ReleaseNotes b/ReleaseNotes
index d36f87eea3..5db4885926 100644
--- a/ReleaseNotes
+++ b/ReleaseNotes
@@ -529,7 +529,7 @@ Changes in version 0.3.3.6 - 2018-05-22
would call the Rust implementation of
protover_get_supported_protocols(). This was due to the C version
returning a static string, whereas the Rust version newly allocated
- a CString to pass accross the FFI boundary. Consequently, the C
+ a CString to pass across the FFI boundary. Consequently, the C
code was not expecting to need to free() what it was given. Fixes
bug 25127; bugfix on 0.3.2.1-alpha.
diff --git a/scripts/test/appveyor-irc-notify.py b/scripts/test/appveyor-irc-notify.py
index 44ef4c96fc..4ffea52684 100644
--- a/scripts/test/appveyor-irc-notify.py
+++ b/scripts/test/appveyor-irc-notify.py
@@ -169,7 +169,7 @@ def notify():
response = line.split()
if response[0] == 'PING':
- irc_file.send('PONG {}\r\n'.format(reponse[1]).encode())
+ irc_file.send('PONG {}\r\n'.format(response[1]).encode())
elif response[1] == '433':
irc_sock.send('NICK {}\r\n'.format(irc_nick).encode())
diff --git a/src/common/crypto_rand.h b/src/common/crypto_rand.h
index 4eac94f57b..bb02e51001 100644
--- a/src/common/crypto_rand.h
+++ b/src/common/crypto_rand.h
@@ -7,7 +7,7 @@
/**
* \file crypto_rand.h
*
- * \brief Common functions for using (psuedo-)random number generators.
+ * \brief Common functions for using (pseudo-)random number generators.
**/
#ifndef TOR_CRYPTO_RAND_H
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index 3b58a78e1d..1a350f66c0 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -1470,7 +1470,7 @@ test_download_status_bridge(void *arg)
return;
}
-/** Set timeval to a mock date and time. This is neccessary
+/** Set timeval to a mock date and time. This is necessary
* to make tor_gettimeofday() mockable. */
static void
mock_tor_gettimeofday(struct timeval *timeval)