[tor-commits] [tor/master] typo in crypto_curve25519.c comment, spotted by rransom

nickm at torproject.org nickm at torproject.org
Thu Jan 31 18:53:33 UTC 2013


commit abb5519d93d56c2859e147fef2fbf0f9e96d5b9c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jan 31 13:53:29 2013 -0500

    typo in crypto_curve25519.c comment, spotted by rransom
---
 src/common/crypto_curve25519.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/crypto_curve25519.c b/src/common/crypto_curve25519.c
index 8870542..62398f6 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),



More information about the tor-commits mailing list