aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-11 15:12:59 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-11 15:12:59 -0500
commit2e656d19e56cc78a73f308f457ff390069328c6f (patch)
tree8a5f861b81472b0ebcd26b6908ae90f5dff88e09 /src/common
parentf1d622e2b2f84e887ba9507dde52bd76a61136dc (diff)
downloadtor-2e656d19e56cc78a73f308f457ff390069328c6f.tar.gz
tor-2e656d19e56cc78a73f308f457ff390069328c6f.zip
comment fix from pastly
Diffstat (limited to 'src/common')
-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 fcbee3aba2..5f328e124c 100644
--- a/src/common/crypto_curve25519.c
+++ b/src/common/crypto_curve25519.c
@@ -80,7 +80,7 @@ curve25519_impl(uint8_t *output, const uint8_t *secret,
/**
* Helper function: Multiply the scalar "secret" by the Curve25519
* basepoint (X=9), and store the result in "output". Return 0 on
- * success, -1 on false.
+ * success, -1 on failure.
*/
STATIC int
curve25519_basepoint_impl(uint8_t *output, const uint8_t *secret)