aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-31 13:53:29 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-31 13:53:29 -0500
commitabb5519d93d56c2859e147fef2fbf0f9e96d5b9c (patch)
tree2f789f2c64e97872ba6daa4380296d3ad957d187 /src
parent294ce2ea871ff63bd4d5fe6c6d547fee858dc1d4 (diff)
downloadtor-abb5519d93d56c2859e147fef2fbf0f9e96d5b9c.tar
tor-abb5519d93d56c2859e147fef2fbf0f9e96d5b9c.tar.gz
typo in crypto_curve25519.c comment, spotted by rransom
Diffstat (limited to 'src')
-rw-r--r--src/common/crypto_curve25519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_curve25519.c b/src/common/crypto_curve25519.c
index 88705427a..62398f62e 100644
--- a/src/common/crypto_curve25519.c
+++ b/src/common/crypto_curve25519.c
@@ -69,7 +69,7 @@ curve25519_secret_key_generate(curve25519_secret_key_t *key_out,
return -1;
if (extra_strong && !crypto_strongest_rand(k_tmp, CURVE25519_SECKEY_LEN)) {
/* If they asked for extra-strong entropy and we have some, use it as an
- * HMAC key to improve not-so-good entopy rather than using it directly,
+ * HMAC key to improve not-so-good entropy rather than using it directly,
* just in case the extra-strong entropy is less amazing than we hoped. */
crypto_hmac_sha256((char *)key_out->secret_key,
(const char *)k_tmp, sizeof(k_tmp),