summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-03-22 22:33:34 +0000
committerIsis Lovecruft <isis@torproject.org>2018-03-22 22:33:34 +0000
commitfae525478370bb4834ac28fe06464a285b3d4a30 (patch)
treec3f8349c47d803dff9eefab711ff0a5a186cb678 /src/or
parent24abcf9771bd13fd4b3a7a33274ff667b56688f2 (diff)
downloadtor-fae525478370bb4834ac28fe06464a285b3d4a30.tar.gz
tor-fae525478370bb4834ac28fe06464a285b3d4a30.zip
hs: Fix two typos in an inline comment.
* FIXES #25602: https://bugs.torproject.org/25602
Diffstat (limited to 'src/or')
-rw-r--r--src/or/hs_cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_cell.c b/src/or/hs_cell.c
index 5244cfa3dd..ad92521d34 100644
--- a/src/or/hs_cell.c
+++ b/src/or/hs_cell.c
@@ -369,7 +369,7 @@ introduce1_encrypt_and_encode(trn_cell_introduce1_t *cell,
crypto_cipher_free(cipher);
offset += encoded_enc_cell_len;
/* Compute MAC from the above and put it in the buffer. This function will
- * make the adjustment to the encryptled_len to ommit the MAC length. */
+ * make the adjustment to the encrypted_len to omit the MAC length. */
compute_introduce_mac(encoded_cell, encoded_cell_len,
encrypted, encrypted_len,
keys.mac_key, sizeof(keys.mac_key),